File tree 2 files changed +35
-23
lines changed
development/python-modules/path.py
2 files changed +35
-23
lines changed Original file line number Diff line number Diff line change
1
+ { lib
2
+ , buildPythonPackage
3
+ , fetchPypi
4
+ , setuptools_scm
5
+ , pytestrunner
6
+ , pytest
7
+ , glibcLocales
8
+ } :
9
+
10
+ buildPythonPackage rec {
11
+ pname = "path.py" ;
12
+ version = "10.3.1" ;
13
+ name = "path.py-${ version } " ;
14
+
15
+ src = fetchPypi {
16
+ inherit pname version ;
17
+ sha256 = "412706be1cd8ab723c77829f9aa0c4d4b7c7b26c7b1be0275a6841c3cb1001e0" ;
18
+ } ;
19
+
20
+ checkInputs = [ pytest pytestrunner ] ;
21
+ buildInputs = [ setuptools_scm glibcLocales ] ;
22
+
23
+ LC_ALL = "en_US.UTF-8" ;
24
+
25
+ meta = {
26
+ description = "A module wrapper for os.path" ;
27
+ homepage = http://github.com/jaraco/path.py ;
28
+ license = lib . licenses . mit ;
29
+ } ;
30
+
31
+ checkPhase = ''
32
+ py.test test_path.py
33
+ '' ;
34
+ }
Original file line number Diff line number Diff line change @@ -17486,29 +17486,7 @@ in {
17486
17486
17487
17487
};
17488
17488
17489
- pathpy = buildPythonPackage rec {
17490
- version = "10.1";
17491
- name = "path.py-${version}";
17492
-
17493
- src = pkgs.fetchurl {
17494
- url = "mirror://pypi/p/path.py/${name}.tar.gz";
17495
- sha256 = "8b0ee56f6c1421a9038823926ee8da354ce70933424b408558bc6b48496587f3";
17496
- };
17497
-
17498
- buildInputs = with self; [setuptools_scm pytestrunner pytest pkgs.glibcLocales ];
17499
-
17500
- LC_ALL="en_US.UTF-8";
17501
-
17502
- meta = {
17503
- description = "A module wrapper for os.path";
17504
- homepage = http://github.com/jaraco/path.py;
17505
- license = licenses.mit;
17506
- };
17507
-
17508
- checkPhase = ''
17509
- py.test test_path.py
17510
- '';
17511
- };
17489
+ pathpy = callPackage ../development/python-modules/path.py { };
17512
17490
17513
17491
paypalrestsdk = buildPythonPackage rec {
17514
17492
name = "paypalrestsdk-0.7.0";
You can’t perform that action at this time.
0 commit comments