python.pkgs.pytools: fix expression
This commit is contained in:
parent
441839111a
commit
718356d698
41
pkgs/development/python-modules/pytools/default.nix
Normal file
41
pkgs/development/python-modules/pytools/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, decorator
|
||||
, appdirs
|
||||
, six
|
||||
, numpy
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytools";
|
||||
version = "2017.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
repo = "pytools";
|
||||
rev = "8078e74265bb5a3c9676c698595ab5450cd2bfe7";
|
||||
sha256 = "17q61l79fcxkj5jxg3fnymi652sdjp5s6kpsabgxp22kma9crr28";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -6789,37 +6789,7 @@ in {
|
||||
|
||||
pysrt = callPackage ../development/python-modules/pysrt { };
|
||||
|
||||
pytools = buildPythonPackage rec {
|
||||
name = "pytools-${version}";
|
||||
version = "2017.4";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
repo = "pytools";
|
||||
rev = "8078e74265bb5a3c9676c698595ab5450cd2bfe7";
|
||||
sha256 = "17q61l79fcxkj5jxg3fnymi652sdjp5s6kpsabgxp22kma9crr28";
|
||||
};
|
||||
|
||||
buildInputs = with self; [
|
||||
decorator
|
||||
appdirs
|
||||
six
|
||||
numpy
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test -k 'not test_persistent_dict'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/inducer/pytools/;
|
||||
description = "Miscellaneous Python lifesavers.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ artuuge ];
|
||||
};
|
||||
|
||||
};
|
||||
pytools = callPackage ../development/python-modules/pytools { };
|
||||
|
||||
pytun = buildPythonPackage rec {
|
||||
name = "pytun-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user