snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / nameparser / default.nix
blobdffd114bd07547c7a654648d6b7bb4ae4d17da69
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   unittestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "nameparser";
11   version = "1.1.3";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-qiQArXHM+AcGdbQDEaJXyTRln5GFSxVOG6bCZHYcBJ0=";
19   };
21   nativeCheckInputs = [ unittestCheckHook ];
23   pythonImportsCheck = [ "nameparser" ];
25   meta = with lib; {
26     description = "Module for parsing human names into their individual components";
27     homepage = "https://github.com/derek73/python-nameparser";
28     changelog = "https://github.com/derek73/python-nameparser/releases/tag/v${version}";
29     license = licenses.lgpl21Plus;
30     maintainers = [ ];
31   };