mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +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`.
24 lines
635 B
Nix
24 lines
635 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, unittest2, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "logilab-common";
|
|
version = "1.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02in5555iak50gzn35bnnha9s85idmh0wwxaxz13v81z5krn077d";
|
|
};
|
|
|
|
propagatedBuildInputs = [ unittest2 six ];
|
|
|
|
# package supports 3.x but tests require egenix-mx-base which is python 2.x only
|
|
# and is not currently in nixos
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python packages and modules used by Logilab ";
|
|
homepage = https://www.logilab.org/project/logilab-common;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|