Merge pull request #25751 from nlewo/pr/rfc3986

pythonPackages.rfc3986: 0.2.2 -> 0.4.1
This commit is contained in:
Jörg Thalheim 2017-05-20 14:59:43 +01:00 committed by GitHub
commit c1a5754b67
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

@ -16379,23 +16379,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}";