depot/third_party/nixpkgs/pkgs/development/python-modules/pypoint/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
708 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
authlib,
httpx,
}:
buildPythonPackage rec {
pname = "pypoint";
version = "2.3.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "fredrike";
repo = "pypoint";
rev = "v${version}";
hash = "sha256-tQ5rQs6ECn9O9dVXKWhmy9BBpOzgqSmwpmbIRbJn2CQ=";
};
propagatedBuildInputs = [
authlib
httpx
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "pypoint" ];
meta = with lib; {
description = "Python module for communicating with Minut Point";
homepage = "https://github.com/fredrike/pypoint";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}