depot/third_party/nixpkgs/pkgs/development/python-modules/pypoint/default.nix
Default email 68d7e71424 Project import generated by Copybara.
GitOrigin-RevId: 945ec499041db73043f745fad3b2a3a01e826081
2022-01-25 20:04:25 -08:00

38 lines
707 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, authlib
, httpx
}:
buildPythonPackage rec {
pname = "pypoint";
version = "2.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "fredrike";
repo = "pypoint";
rev = "v${version}";
hash = "sha256-609Zme9IUl8eHNxzrYsRAg7bgZho/OklGM7oI+imyZQ=";
};
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 ];
};
}