about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix b/nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
new file mode 100644
index 000000000000..582192113243
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
@@ -0,0 +1,18 @@
+{ lib, fetchPypi, buildPythonPackage, isPy3k }:
+
+buildPythonPackage rec {
+  version = "1.10";
+  pname = "python-stdnum";
+  # Failing tests and dependency issue on Py3k
+  disabled = isPy3k;
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0prs63q8zdgwr5cxc5a43zvsm66l0gf9jk19qdf85m6isnp5186a";
+  };
+  meta = {
+    homepage = https://arthurdejong.org/python-stdnum/;
+    description = "Python module to handle standardized numbers and codes";
+    maintainers = with lib.maintainers; [ johbo ];
+    license = lib.licenses.lgpl2Plus;
+  };
+}