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