mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #25751 from nlewo/pr/rfc3986
pythonPackages.rfc3986: 0.2.2 -> 0.4.1
This commit is contained in:
commit
c1a5754b67
24
pkgs/development/python-modules/rfc3986/default.nix
Normal file
24
pkgs/development/python-modules/rfc3986/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user