diff options
| author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-10-15 09:04:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-15 09:04:00 +0200 |
| commit | 6ab87be1093e80441490f7587a3e51fbf31964b5 (patch) | |
| tree | 29eff8f3f661ca3a77cfa0b9c7111286cb987264 | |
| parent | Merge pull request #260531 from fabaff/angr-bump (diff) | |
| parent | python311Packages.nameparser: add format (diff) | |
| download | nixpkgs-6ab87be1093e80441490f7587a3e51fbf31964b5.tar.gz | |
Merge pull request #261105 from r-ryantm/auto-update/python310Packages.nameparser
python310Packages.nameparser: 1.1.2 -> 1.1.3
| -rw-r--r-- | pkgs/development/python-modules/nameparser/default.nix | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/nameparser/default.nix b/pkgs/development/python-modules/nameparser/default.nix index 4453e33975cf..370a5300a04e 100644 --- a/pkgs/development/python-modules/nameparser/default.nix +++ b/pkgs/development/python-modules/nameparser/default.nix @@ -1,25 +1,35 @@ { lib , buildPythonPackage , fetchPypi -, glibcLocales +, pythonOlder +, unittestCheckHook }: buildPythonPackage rec { pname = "nameparser"; - version = "1.1.2"; + version = "1.1.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-9LbHwQSNUovWqisnz0KgZEfSsx5FqVsgRJUTB48dhu8="; + hash = "sha256-qiQArXHM+AcGdbQDEaJXyTRln5GFSxVOG6bCZHYcBJ0="; }; - LC_ALL="en_US.UTF-8"; - buildInputs = [ glibcLocales ]; + nativeCheckInputs = [ + unittestCheckHook + ]; + + pythonImportsCheck = [ + "nameparser" + ]; meta = with lib; { - description = "A simple Python module for parsing human names into their individual components"; + description = "Module for parsing human names into their individual components"; homepage = "https://github.com/derek73/python-nameparser"; + changelog = "https://github.com/derek73/python-nameparser/releases/tag/v${version}"; license = licenses.lgpl21Plus; + maintainers = with maintainers; [ ]; }; - } |
