diff --git a/pkgs/development/python-modules/huisbaasje-client/default.nix b/pkgs/development/python-modules/huisbaasje-client/default.nix new file mode 100644 index 000000000000..2ca1768342d4 --- /dev/null +++ b/pkgs/development/python-modules/huisbaasje-client/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, aiohttp +}: + +buildPythonPackage rec { + pname = "huisbaasje-client"; + version = "0.1.0"; + + disabled = pythonOlder "3.6"; # requires python version >=3.6 + + src = fetchPypi { + inherit pname version; + sha256 = "6bc02384c37aba01719269b05882572050c80cd9abf98caa38519308e05b7db8"; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # no tests on PyPI, no tags on GitHub + doCheck = false; + + pythonImportsCheck = [ "huisbaasje.huisbaasje" ]; + + meta = with lib; { + description = "Client for Huisbaasje"; + homepage = "https://github.com/denniss17/huisbaasje-client"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a61f1273190b..cad4ea8e77f1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3330,6 +3330,8 @@ in { huggingface-hub = callPackage ../development/python-modules/huggingface-hub { }; + huisbaasje-client = callPackage ../development/python-modules/huisbaasje-client { }; + humanfriendly = callPackage ../development/python-modules/humanfriendly { }; humanize = callPackage ../development/python-modules/humanize { };