3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix

24 lines
558 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, nose }:
2017-02-20 19:24:18 +00:00
buildPythonPackage rec {
version = "1.11";
pname = "python-stdnum";
src = fetchPypi {
inherit pname version;
sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854";
2017-02-20 19:24:18 +00:00
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
2017-02-20 19:24:18 +00:00
meta = {
2018-06-27 21:12:57 +01:00
homepage = https://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;
};
}