nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

20 lines
610 B
Nix

{ lib, fetchurl, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
version = "1.5";
pname = "python-stdnum";
name = "${pname}-${version}";
# 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;
};
}