diff --git a/pkgs/development/python-modules/pypoint/default.nix b/pkgs/development/python-modules/pypoint/default.nix new file mode 100644 index 000000000000..be487199b38b --- /dev/null +++ b/pkgs/development/python-modules/pypoint/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, authlib +, httpx +}: + +buildPythonPackage rec { + pname = "pypoint"; + version = "2.1.0"; + + src = fetchFromGitHub { + owner = "fredrike"; + repo = "pypoint"; + rev = "v${version}"; + sha256 = "13p68d2qxfj31lfjv94wzpigjfgjw03yjpl2h16zgxbka2k8zf3x"; + }; + + propagatedBuildInputs = [ + authlib + httpx + ]; + + # upstream has no tests + doCheck = false; + + pythonImportsCheck = [ "pypoint" ]; + + meta = with lib; { + description = "API for Minut Point"; + homepage = "https://github.com/fredrike/pypoint"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 79b17a44d90e..d166332109a0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5349,6 +5349,8 @@ in { pynx584 = callPackage ../development/python-modules/pynx584 { }; + pypoint = callPackage ../development/python-modules/pypoint { }; + pyrfxtrx = callPackage ../development/python-modules/pyrfxtrx { }; pyrogram = callPackage ../development/python-modules/pyrogram { };