mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
a0d1442ed8
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python2.7-python-stdnum/versions
24 lines
558 B
Nix
24 lines
558 B
Nix
{ lib, fetchPypi, buildPythonPackage, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.11";
|
|
pname = "python-stdnum";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854";
|
|
};
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://arthurdejong.org/python-stdnum/;
|
|
description = "Python module to handle standardized numbers and codes";
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
license = lib.licenses.lgpl2Plus;
|
|
};
|
|
}
|