summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-10-15 09:04:00 +0200
committerGitHub <noreply@github.com>2023-10-15 09:04:00 +0200
commit6ab87be1093e80441490f7587a3e51fbf31964b5 (patch)
tree29eff8f3f661ca3a77cfa0b9c7111286cb987264
parentMerge pull request #260531 from fabaff/angr-bump (diff)
parentpython311Packages.nameparser: add format (diff)
downloadnixpkgs-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.nix24
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; [ ];
};
-
}