about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
authorJohannes Bornhold <johannes@bornhold.name>2017-02-20 20:24:18 +0100
committerJohannes Bornhold <johannes@bornhold.name>2017-02-21 10:05:16 +0100
commit96e1fd6a5a81b24e5f932ee1c2b9bcff17242987 (patch)
treea48b213ad158891eb5140737be24a24ebd0780ee /pkgs/development/python-modules/python-stdnum
parent402a6c6dde53f2997a5c6678c069fdf2c98b643f (diff)
python-stdnum: init at 1.5
Diffstat (limited to 'pkgs/development/python-modules/python-stdnum')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
new file mode 100644
index 0000000000000..fe85b7bb0d347
--- /dev/null
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -0,0 +1,18 @@
+{ lib, fetchurl, buildPythonPackage, isPy3k }:
+
+buildPythonPackage rec {
+  name = "python-stdnum-${version}";
+  version = "1.5";
+  # Failing tests and dependency issue on Py3k
+  disabled = isPy3k;
+  src = fetchurl {
+    url = "mirror://pypi/p/python-stdnum/${name}.tar.gz";
+    sha256 = "0zkkpjy4gc161dkyxjmingjw48glljlqqrl4fh2k5idf0frkvzhh";
+  };
+  meta = {
+    homepage = "http://arthurdejong.org/python-stdnum/";
+    description = "Python module to handle standardized numbers and codes";
+    maintainers = with lib.maintainers; [ johbo ];
+    license = lib.licenses.lgpl2Plus;
+  };
+}