Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 718356d) python.pkgs.pytools: 2017.4 -> 2017.6 (cherry picked from commit bed35cf) pytools fixup
- Loading branch information
Showing
2 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, decorator | ||
, appdirs | ||
, six | ||
, numpy | ||
, pytest | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pytools"; | ||
version = "2017.6"; | ||
name = "${pname}-${version}"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115"; | ||
}; | ||
|
||
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters