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

24 lines
548 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, nose }:
2017-02-20 19:24:18 +00:00
buildPythonPackage rec {
version = "1.13";
pname = "python-stdnum";
src = fetchPypi {
inherit pname version;
sha256 = "0q4128rjdgavywhzlm2gz2n5ybc9b9sxs81g50dvxf5q7z9q63qj";
2017-02-20 19:24:18 +00:00
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
2017-02-20 19:24:18 +00:00
meta = {
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;
};
}