git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.pathpy: 10.1 -> 10.3.1
commitc0b1e8a5fb174cd405dcca9f7fec275714ad9f4b authorFrederik Rietdijk <fridh@fridh.nl> dateTue 6 Jun 2017, 11:26 (9 years ago) parent5666695
2 files changed+35−23
pkgs/development/python-modules/path.py/default.nix+34 pkgs/top-level/python-packages.nix+1−23
pkgs/development/python-modules/path.py/default.nixnew file+34
@@ -0,0 +1,34 @@
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+}
pkgs/top-level/python-packages.nix+1−23
@@ -17486,29 +17486,7 @@ in {
1748617486
1748717487 };
1748817488
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 { };
1751217490
1751317491 paypalrestsdk = buildPythonPackage rec {
1751417492 name = "paypalrestsdk-0.7.0";