mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01: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];
|
|
};
|
|
}
|