about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rfc3986
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2017-05-13 00:11:48 +0200
committerAntoine Eiche <lewo@abesis.fr>2017-05-13 00:11:48 +0200
commitf97180c012d822f06bf3907efaafea4119f756ce (patch)
treed612ddacc6162eb0d30328a0711279020fd701b5 /pkgs/development/python-modules/rfc3986
parente8880627e8428346c0e62bbf0cc60adf3fd7661c (diff)
downloadnixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar.gz
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar.bz2
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar.lz
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar.xz
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.tar.zst
nixlib-f97180c012d822f06bf3907efaafea4119f756ce.zip
pythonPackages.rfc3986: 0.2.2 -> 0.4.1
Diffstat (limited to 'pkgs/development/python-modules/rfc3986')
-rw-r--r--pkgs/development/python-modules/rfc3986/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rfc3986/default.nix b/pkgs/development/python-modules/rfc3986/default.nix
new file mode 100644
index 000000000000..dde36e7592e6
--- /dev/null
+++ b/pkgs/development/python-modules/rfc3986/default.nix
@@ -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";
+  };
+}