1{ lib
2, buildPythonPackage
3, fetchPypi
4, decorator
5, appdirs
6, six
7, numpy
8, pytest
9}:
10
11buildPythonPackage rec {
12 pname = "pytools";
13 version = "2017.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115";
18 };
19
20 checkInputs = [ pytest ];
21
22 propagatedBuildInputs = [
23 decorator
24 appdirs
25 six
26 numpy
27 ];
28
29 checkPhase = ''
30 py.test -k 'not test_persistent_dict'
31 '';
32
33 meta = {
34 homepage = https://github.com/inducer/pytools/;
35 description = "Miscellaneous Python lifesavers.";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ artuuge ];
38 };
39}