depot/third_party/nixpkgs/pkgs/development/python-modules/logilab/common.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
656 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27, unittest2, six }:
buildPythonPackage rec {
pname = "logilab-common";
version = "1.6.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0h0b2vg2xpfbnynrkg2yki4zjpscm6wgm6nhaahb088v98zxqbrk";
};
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 lib; {
description = "Python packages and modules used by Logilab ";
homepage = "https://www.logilab.org/project/logilab-common";
license = licenses.lgpl21;
};
}