nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix

20 lines
620 B
Nix
Raw Normal View History

2017-02-20 19:24:18 +00:00
{ lib, fetchurl, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
version = "1.6";
pname = "python-stdnum";
name = "${pname}-${version}";
2017-02-20 19:24:18 +00:00
# Failing tests and dependency issue on Py3k
disabled = isPy3k;
src = fetchurl {
url = "mirror://pypi/p/python-stdnum/${name}.tar.gz";
sha256 = "157a0aef01b1e846ddd11252dc516637da6b3347e32f0130825b7fae1d8b4655";
2017-02-20 19:24:18 +00:00
};
meta = {
homepage = http://arthurdejong.org/python-stdnum/;
2017-02-20 19:24:18 +00:00
description = "Python module to handle standardized numbers and codes";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.lgpl2Plus;
};
}