2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, unittest2, six }:
|
2017-09-17 01:14:11 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "logilab-common";
|
2020-05-09 12:19:07 +00:00
|
|
|
version = "1.6.1";
|
2019-12-21 09:53:46 +00:00
|
|
|
disabled = isPy27;
|
2017-09-17 01:14:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 12:19:07 +00:00
|
|
|
sha256 = "0h0b2vg2xpfbnynrkg2yki4zjpscm6wgm6nhaahb088v98zxqbrk";
|
2017-09-17 01:14:11 +00: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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-17 01:14:11 +00:00
|
|
|
description = "Python packages and modules used by Logilab ";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.logilab.org/project/logilab-common";
|
2017-09-18 23:39:02 +00:00
|
|
|
license = licenses.lgpl21;
|
2017-09-17 01:14:11 +00:00
|
|
|
};
|
|
|
|
}
|