nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
2019-11-29 13:34:18 -08:00

24 lines
546 B
Nix

{ lib, fetchPypi, buildPythonPackage, nose }:
buildPythonPackage rec {
version = "1.12";
pname = "python-stdnum";
src = fetchPypi {
inherit pname version;
sha256 = "19fb5asv0ngnbpiz1bqzq2jhgn845kv9hjcjajsgzgfp2k24f4sc";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = {
homepage = https://arthurdejong.org/python-stdnum/;
description = "Python module to handle standardized numbers and codes";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.lgpl2Plus;
};
}