diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-03-04 08:21:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 08:21:56 +0100 |
commit | c716e343bc8092411137930d7061d94b3518700e (patch) | |
tree | 12c1ba8b545a97a2ebbdcb4c5e930fa7f0b447f3 | |
parent | 89b71b08bf59d0c9de7e13a7bd73547d3a14df2f (diff) | |
parent | dc84e44ff860a5bed57831c0577906240d67c0f5 (diff) | |
download | nixlib-c716e343bc8092411137930d7061d94b3518700e.tar nixlib-c716e343bc8092411137930d7061d94b3518700e.tar.gz nixlib-c716e343bc8092411137930d7061d94b3518700e.tar.bz2 nixlib-c716e343bc8092411137930d7061d94b3518700e.tar.lz nixlib-c716e343bc8092411137930d7061d94b3518700e.tar.xz nixlib-c716e343bc8092411137930d7061d94b3518700e.tar.zst nixlib-c716e343bc8092411137930d7061d94b3518700e.zip |
Merge pull request #293105 from fabaff/std-uritemplate
python311Packages.std-uritemplate: init at 0.0.53
-rw-r--r-- | pkgs/development/python-modules/std-uritemplate/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/std-uritemplate/default.nix b/pkgs/development/python-modules/std-uritemplate/default.nix new file mode 100644 index 000000000000..1bd03434f8c5 --- /dev/null +++ b/pkgs/development/python-modules/std-uritemplate/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, poetry-core +, pythonOlder +}: + +buildPythonPackage rec { + pname = "std-uritemplate"; + version = "0.0.53"; + pyproject = true; + + disabled = pythonOlder "3.8"; + + src = fetchPypi { + pname = "std_uritemplate"; + inherit version; + hash = "sha256-AQjfDMU7XVsu2rInwmDOwy6qeVtbXNIq+wiKff4j4BY="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + # Module doesn't have unittest, only functional tests + doCheck = false; + + pythonImportsCheck = [ + "stduritemplate" + ]; + + meta = with lib; { + description = "Std-uritemplate implementation for Python"; + homepage = "https://github.com/std-uritemplate/std-uritemplate"; + changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e9c17c56c129..e638cd4be072 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14096,6 +14096,8 @@ self: super: with self; { statsmodels = callPackage ../development/python-modules/statsmodels { }; + std-uritemplate = callPackage ../development/python-modules/std-uritemplate { }; + std2 = callPackage ../development/python-modules/std2 { }; stdiomask = callPackage ../development/python-modules/stdiomask { }; |