summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
authorlprndn <lprndn@gmail.com>2017-04-03 21:37:11 +0200
committerGitHub <noreply@github.com>2017-04-03 21:37:11 +0200
commitf259fa6e913ab24077385cc7c76af2b60cacad60 (patch)
treeed63184d719eeb887842d0f9ff0c856cc017fbae /pkgs/development/python-modules/python-stdnum
parent8a534d53281c5aead91a67ca526d8cb7f27a14c5 (diff)
parent75319eb2035e7c9ec0a8f45ab816dd34689fd77a (diff)
Merge branch 'master' into lprndn_Nixpkgs
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 000000000000..fe85b7bb0d34
--- /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;
+ };
+}