about summary refs log tree commit diff
path: root/pkgs/development/python-modules/huisbaasje-client/default.nix
blob: a8db5e2abc932eb0617590d9907142e2e0856fa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "huisbaasje-client";
  version = "0.1.0";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "dennisschroer";
    repo = "huisbaasje-client";
    rev = "v${version}";
    sha256 = "113aymffyz1nki3a43j5cyj87qa0762j38qlz0wd5px7diwjxsfl";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "huisbaasje.huisbaasje" ];

  meta = with lib; {
    description = "Client for Huisbaasje";
    homepage = "https://github.com/dennisschroer/huisbaasje-client";
    license = licenses.asl20;
    maintainers = with maintainers; [ dotlambda ];
  };
}