nixpkgs/pkgs/development/python-modules/logilab/common.nix

25 lines
666 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, isPy27, unittest2, six }:
2017-09-17 02:14:11 +01:00
buildPythonPackage rec {
pname = "logilab-common";
version = "1.6.1";
disabled = isPy27;
2017-09-17 02:14:11 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0h0b2vg2xpfbnynrkg2yki4zjpscm6wgm6nhaahb088v98zxqbrk";
2017-09-17 02:14:11 +01:00
};
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";
2017-09-19 00:39:02 +01:00
license = licenses.lgpl21;
2017-09-17 02:14:11 +01:00
};
}