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

buildPythonPackage rec {
  pname = "pydanfossair";
  version = "0.2.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "JonasPed";
    repo = "pydanfoss-air";
    rev = "v${version}";
    hash = "sha256-WTRiEQbd3wwNAz1gk0rS3khy6lg61rcGZQTMlBc0uO8=";
  };

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "pydanfossair" ];

  meta = with lib; {
    description = "Python interface for Danfoss Air HRV systems";
    homepage = "https://github.com/JonasPed/pydanfoss-air";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}