5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
38 lines
707 B
Nix
38 lines
707 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 ];
|
|
};
|
|
}
|