about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyatag/default.nix
blob: a06d2a05fb40f6d8a81e9b262f6a6c25d1f5bb91 (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
39
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, aiohttp
}:

buildPythonPackage rec {
  pname = "pyatag";
  version = "3.5.1";

  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "MatsNl";
    repo = "pyatag";
    rev = version;
    sha256 = "17x2m7icbby1y2zfc79jpbir2kvyqlrkix9pvvxanm658arsh8c7";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  # no tests implemented
  doCheck = false;

  pythonImportsCheck = [
    "pyatag"
    "pyatag.discovery"
  ];

  meta = with lib; {
    description = "Python module to talk to Atag One";
    homepage = "https://github.com/MatsNl/pyatag";
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };
}