mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
20 lines
508 B
Nix
20 lines
508 B
Nix
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
buildPythonPackage rec {
|
|
pname = "csscompressor";
|
|
version = "0.9.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05";
|
|
};
|
|
|
|
doCheck = false; # No tests
|
|
|
|
meta = {
|
|
description = "A python port of YUI CSS Compressor";
|
|
homepage = https://pypi.python.org/pypi/csscompressor;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
maintainers = [stdenv.lib.maintainers.ahmedtd];
|
|
};
|
|
}
|