1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, aiohttp
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "huisbaasje-client";
11 version = "0.1.0";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchFromGitHub {
16 owner = "dennisschroer";
17 repo = "huisbaasje-client";
18 rev = "v${version}";
19 sha256 = "113aymffyz1nki3a43j5cyj87qa0762j38qlz0wd5px7diwjxsfl";
20 };
21
22 propagatedBuildInputs = [
23 aiohttp
24 ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [ "huisbaasje.huisbaasje" ];
31
32 meta = with lib; {
33 description = "Client for Huisbaasje";
34 homepage = "https://github.com/dennisschroer/huisbaasje-client";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ dotlambda ];
37 };
38}