1{ stdenv, buildPythonPackage, fetchPypi, isPy27, unittest2, six }:
2
3buildPythonPackage rec {
4 pname = "logilab-common";
5 version = "1.5.2";
6 disabled = isPy27;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "1n20znamai7jksimbdshy03rgw235qwa9vbx3lyajzwysblq4s4d";
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}