summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-stdnum/default.nix
blob: 39153f4a4daa50f1e19822b472c2314d19c61eb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchPypi, buildPythonPackage, nose }:

buildPythonPackage rec {
  version = "1.13";
  pname = "python-stdnum";
  src = fetchPypi {
    inherit pname version;
    sha256 = "0q4128rjdgavywhzlm2gz2n5ybc9b9sxs81g50dvxf5q7z9q63qj";
  };

  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;
  };
}