634fe97655
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
35 lines
650 B
Nix
35 lines
650 B
Nix
{ 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 ];
|
|
};
|
|
}
|