39 lines
673 B
Nix
39 lines
673 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, decorator
|
|
, appdirs
|
|
, six
|
|
, numpy
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytools";
|
|
version = "2018.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0063b87285cb1172e3602a996bfd7342bf407361cf67b562cb6d806f70422e71";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
decorator
|
|
appdirs
|
|
six
|
|
numpy
|
|
];
|
|
|
|
checkPhase = ''
|
|
py.test -k 'not test_persistent_dict'
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/inducer/pytools/;
|
|
description = "Miscellaneous Python lifesavers.";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ artuuge ];
|
|
};
|
|
} |