Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 23 lines 558 B view raw
1{ lib, fetchPypi, buildPythonPackage, nose }: 2 3buildPythonPackage rec { 4 version = "1.11"; 5 pname = "python-stdnum"; 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854"; 9 }; 10 11 checkInputs = [ nose ]; 12 13 checkPhase = '' 14 nosetests 15 ''; 16 17 meta = { 18 homepage = https://arthurdejong.org/python-stdnum/; 19 description = "Python module to handle standardized numbers and codes"; 20 maintainers = with lib.maintainers; [ johbo ]; 21 license = lib.licenses.lgpl2Plus; 22 }; 23}