1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, authlib
5, httpx
6}:
7
8buildPythonPackage rec {
9 pname = "pypoint";
10 version = "2.3.2";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "fredrike";
15 repo = "pypoint";
16 rev = "v${version}";
17 hash = "sha256-tQ5rQs6ECn9O9dVXKWhmy9BBpOzgqSmwpmbIRbJn2CQ=";
18 };
19
20 propagatedBuildInputs = [
21 authlib
22 httpx
23 ];
24
25 # upstream has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [
29 "pypoint"
30 ];
31
32 meta = with lib; {
33 description = "Python module for communicating with Minut Point";
34 homepage = "https://github.com/fredrike/pypoint";
35 license = licenses.mit;
36 maintainers = with maintainers; [ dotlambda ];
37 };
38}