diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2021-11-28 17:25:27 +0100 |
---|---|---|
committer | Bruno BELANYI <bruno@belanyi.fr> | 2022-09-29 15:15:21 +0200 |
commit | d1710a21fc463437d6396b481882c86f07f75050 (patch) | |
tree | 7f1931c4c6dde02458f2969970402d7f572241a8 /pkgs/development/python-modules/language-tags | |
parent | 48919bc2246e23673b322dd02c347473cc67380d (diff) |
python310Packages.language-tags: init at 1.1.0
Diffstat (limited to 'pkgs/development/python-modules/language-tags')
-rw-r--r-- | pkgs/development/python-modules/language-tags/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/language-tags/default.nix b/pkgs/development/python-modules/language-tags/default.nix new file mode 100644 index 0000000000000..ea3be88335c90 --- /dev/null +++ b/pkgs/development/python-modules/language-tags/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "language-tags"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "OnroerendErfgoed"; + repo = "language-tags"; + rev = version; + sha256 = "sha256-4Ira3EMS64AM8I3SLmUm+m6V5vwtDYf8WDmVDvI+ZOw="; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "language_tags" ]; + + meta = with lib; { + description = "Dealing with IANA language tags in Python"; + homepage = "https://language-tags.readthedocs.io/en/latest/"; + license = licenses.mit; + maintainers = with maintainers; [ ambroisie ]; + }; +} |