1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, authlib
5, httpx
6}:
7
8buildPythonPackage rec {
9 pname = "pypoint";
10 version = "2.2.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "fredrike";
15 repo = "pypoint";
16 rev = "v${version}";
17 sha256 = "sha256-Or7A/Br6BgiCF6OHRtN5TAt++Tu1RLS9mYRgD7Aljts=";
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}