summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyatag/default.nix
blob: c5ce30db71f405cf874920bf76ec82300be8e249 (plain)
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
40
41
42
43
44
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyatag";
  version = "0.3.7.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "MatsNl";
    repo = "pyatag";
    tag = version;
    hash = "sha256-3h9mpopTbEULCx7rcEt/I/ZnUA0L/fJ7Y3L5h/6EuC4=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [ aiohttp ];

  # no tests implemented
  doCheck = false;

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

  # it would use the erroneous tag 3.5.1
  # nixpkgs-update: no auto update
  passthru.skipBulkUpdate = true;

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