2019-06-02 22:47:23 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, nose }:
|
2017-02-20 19:24:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-11-29 05:44:44 +00:00
|
|
|
version = "1.12";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "python-stdnum";
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-29 05:44:44 +00:00
|
|
|
sha256 = "19fb5asv0ngnbpiz1bqzq2jhgn845kv9hjcjajsgzgfp2k24f4sc";
|
2017-02-20 19:24:18 +00:00
|
|
|
};
|
2019-06-02 22:47:23 +01: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;
|
|
|
|
};
|
|
|
|
}
|