python.pkgs.pathpy: 10.1 -> 10.3.1

This commit is contained in:
Frederik Rietdijk 2017-06-06 11:26:49 +02:00
parent 5666695906
commit c0b1e8a5fb
2 changed files with 35 additions and 23 deletions

View 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
'';
}

View file

@ -17486,29 +17486,7 @@ in {
};
pathpy = buildPythonPackage rec {
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
'';
};
pathpy = callPackage ../development/python-modules/path.py { };
paypalrestsdk = buildPythonPackage rec {
name = "paypalrestsdk-0.7.0";