2019-06-02 14:47:23 -07:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, nose }:
|
2017-02-20 11:24:18 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-08-16 10:31:14 -07:00
|
|
|
version = "1.14";
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "python-stdnum";
|
2018-06-23 06:27:58 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:31:14 -07:00
|
|
|
sha256 = "fd3a92b8ec82a159c41dbaa3c5397934d090090c92b04e346412e0fd7e6a1b1c";
|
2017-02-20 11:24:18 -08:00
|
|
|
};
|
2019-06-02 14:47:23 -07:00
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
2017-02-20 11:24:18 -08:00
|
|
|
meta = {
|
2020-03-25 06:56:03 -07:00
|
|
|
homepage = "https://arthurdejong.org/python-stdnum/";
|
2017-02-20 11:24:18 -08:00
|
|
|
description = "Python module to handle standardized numbers and codes";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
};
|
|
|
|
}
|