depot/third_party/nixpkgs/pkgs/development/python-modules/pytools/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

41 lines
724 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, decorator
, appdirs
, six
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "pytools";
version = "2021.2.8";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "e11adc4914d805ac2bd02656fc6c0ec57c29dd305bd4a44122ca4e651a4bba8b";
};
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 ];
};
}