2019-12-21 10:53:46 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy27, unittest2, six }:
|
2017-09-17 03:14:11 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "logilab-common";
|
2019-12-21 09:00:39 +01:00
|
|
|
version = "1.5.2";
|
2019-12-21 10:53:46 +01:00
|
|
|
disabled = isPy27;
|
2017-09-17 03:14:11 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-21 09:00:39 +01:00
|
|
|
sha256 = "1n20znamai7jksimbdshy03rgw235qwa9vbx3lyajzwysblq4s4d";
|
2017-09-17 03:14:11 +02: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 01:39:02 +02:00
|
|
|
license = licenses.lgpl21;
|
2017-09-17 03:14:11 +02:00
|
|
|
};
|
|
|
|
}
|