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 = "2018.5.2";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "3b3f41e1235b579dc4f4a3d6f5f8ae187841968e72a4f73ac481c6bfe4c1668b";
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}