summary refs log tree commit diff
path: root/pkgs/development/python2-modules/idna/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-modules/idna/default.nix')
-rw-r--r--pkgs/development/python2-modules/idna/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python2-modules/idna/default.nix b/pkgs/development/python2-modules/idna/default.nix
new file mode 100644
index 0000000000000..9a1c1dc271f19
--- /dev/null
+++ b/pkgs/development/python2-modules/idna/default.nix
@@ -0,0 +1,23 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "idna";
+  version = "2.10";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6";
+  };
+
+  checkInputs = [ pytestCheckHook ];
+
+  meta = {
+    homepage = "https://github.com/kjd/idna/";
+    description = "Internationalized Domain Names in Applications (IDNA)";
+    license = lib.licenses.bsd3;
+  };
+}