about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
blob: 06577249a02da7c03e6ba598a760a5e8425b94e4 (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.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;
  };
}