1{ stdenv, buildPythonPackage, fetchPypi, unittest2, six }: 2 3buildPythonPackage rec { 4 pname = "logilab-common"; 5 version = "1.4.1"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "02in5555iak50gzn35bnnha9s85idmh0wwxaxz13v81z5krn077d"; 11 }; 12 13 propagatedBuildInputs = [ unittest2 six ]; 14 15 # package supports 3.x but tests require egenix-mx-base which is python 2.x only 16 # and is not currently in nixos 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 description = "Python packages and modules used by Logilab "; 21 homepage = https://www.logilab.org/project/logilab-common; 22 license = licenses.lgpl21; 23 }; 24}