File tree 2 files changed +41
-31
lines changed
development/python-modules/pytools
2 files changed +41
-31
lines changed Original file line number Diff line number Diff line change
1
+ { lib
2
+ , buildPythonPackage
3
+ , fetchPypi
4
+ , decorator
5
+ , appdirs
6
+ , six
7
+ , numpy
8
+ , pytest
9
+ } :
10
+
11
+ buildPythonPackage rec {
12
+ pname = "pytools" ;
13
+ version = "2017.6" ;
14
+ name = "${ pname } -${ version } " ;
15
+
16
+ src = fetchPypi {
17
+ inherit pname version ;
18
+ sha256 = "80f1bba4469d473c1b3969bc8e188c03bcc94d35807a889ceebbfc78e3208115" ;
19
+ } ;
20
+
21
+ checkInputs = [ pytest ] ;
22
+
23
+ propagatedBuildInputs = [
24
+ decorator
25
+ appdirs
26
+ six
27
+ numpy
28
+ ] ;
29
+
30
+ checkPhase = ''
31
+ py.test -k 'not test_persistent_dict'
32
+ '' ;
33
+
34
+ meta = {
35
+ homepage = https://github.com/inducer/pytools/ ;
36
+ description = "Miscellaneous Python lifesavers." ;
37
+ license = lib . licenses . mit ;
38
+ maintainers = with lib . maintainers ; [ artuuge ] ;
39
+ } ;
40
+ }
Original file line number Diff line number Diff line change @@ -7494,37 +7494,7 @@ in {
7494
7494
7495
7495
pysrt = callPackage ../development/python-modules/pysrt { };
7496
7496
7497
- pytools = buildPythonPackage rec {
7498
- name = "pytools-${version}";
7499
- version = "2017.4";
7500
-
7501
- src = pkgs.fetchFromGitHub {
7502
- owner = "inducer";
7503
- repo = "pytools";
7504
- rev = "8078e74265bb5a3c9676c698595ab5450cd2bfe7";
7505
- sha256 = "17q61l79fcxkj5jxg3fnymi652sdjp5s6kpsabgxp22kma9crr28";
7506
- };
7507
-
7508
- buildInputs = with self; [
7509
- decorator
7510
- appdirs
7511
- six
7512
- numpy
7513
- pytest
7514
- ];
7515
-
7516
- checkPhase = ''
7517
- py.test -k 'not test_persistent_dict'
7518
- '';
7519
-
7520
- meta = {
7521
- homepage = https://github.com/inducer/pytools/;
7522
- description = "Miscellaneous Python lifesavers.";
7523
- license = licenses.mit;
7524
- maintainers = with maintainers; [ artuuge ];
7525
- };
7526
-
7527
- };
7497
+ pytools = callPackage ../development/python-modules/pytools { };
7528
7498
7529
7499
pytun = buildPythonPackage rec {
7530
7500
name = "pytun-${version}";
You can’t perform that action at this time.
0 commit comments