mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
40 lines
676 B
Nix
40 lines
676 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, decorator
|
|
, appdirs
|
|
, six
|
|
, numpy
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytools";
|
|
version = "2020.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3cacefed54148aafb07502c7c907cae8d9327ea35df16e3366c883a706ed5601";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|