mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python.pkgs.pathpy: 10.1 -> 10.3.1
This commit is contained in:
parent
5666695906
commit
c0b1e8a5fb
2 changed files with 35 additions and 23 deletions
34
pkgs/development/python-modules/path.py/default.nix
Normal file
34
pkgs/development/python-modules/path.py/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools_scm
|
||||||
|
, pytestrunner
|
||||||
|
, pytest
|
||||||
|
, glibcLocales
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "path.py";
|
||||||
|
version = "10.3.1";
|
||||||
|
name = "path.py-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "412706be1cd8ab723c77829f9aa0c4d4b7c7b26c7b1be0275a6841c3cb1001e0";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytestrunner ];
|
||||||
|
buildInputs = [setuptools_scm glibcLocales ];
|
||||||
|
|
||||||
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A module wrapper for os.path";
|
||||||
|
homepage = http://github.com/jaraco/path.py;
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test test_path.py
|
||||||
|
'';
|
||||||
|
}
|
|
@ -17486,29 +17486,7 @@ in {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pathpy = buildPythonPackage rec {
|
pathpy = callPackage ../development/python-modules/path.py { };
|
||||||
version = "10.1";
|
|
||||||
name = "path.py-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/path.py/${name}.tar.gz";
|
|
||||||
sha256 = "8b0ee56f6c1421a9038823926ee8da354ce70933424b408558bc6b48496587f3";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [setuptools_scm pytestrunner pytest pkgs.glibcLocales ];
|
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A module wrapper for os.path";
|
|
||||||
homepage = http://github.com/jaraco/path.py;
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test test_path.py
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
paypalrestsdk = buildPythonPackage rec {
|
paypalrestsdk = buildPythonPackage rec {
|
||||||
name = "paypalrestsdk-0.7.0";
|
name = "paypalrestsdk-0.7.0";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue