pythonPackages.rfc3986: 0.2.2 -> 0.4.1

This commit is contained in:
Antoine Eiche 2017-05-13 00:11:48 +02:00
parent e8880627e8
commit f97180c012
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi,
pytest }:
buildPythonPackage rec {
pname = "rfc3986";
version = "0.4.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "5ac85eb132fae7bbd811fa48d11984ae3104be30d44d397a351d004c633a68d2";
};
buildInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
homepage = "https://rfc3986.readthedocs.org";
license = licenses.asl20;
description = "Validating URI References per RFC 3986";
};
}

View File

@ -16442,23 +16442,7 @@ in {
buildInputs = with self; [ oslotest mock coverage simplejson oslo-i18n ];
};
rfc3986 = buildPythonPackage rec {
name = "rfc3986-${version}";
version = "0.2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/r/rfc3986/rfc3986-0.2.2.tar.gz";
sha256 = "0yvzz7gp84qqdadbjdh9ch7dz4w19nmhwa704s9m11bljgp3hqmn";
};
LC_ALL = "en_US.UTF-8";
buildInputs = [ pkgs.glibcLocales ];
meta = with stdenv.lib; {
description = "rfc3986";
homepage = https://rfc3986.rtfd.org;
};
};
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
pycadf = buildPythonPackage rec {
name = "pycadf-${version}";