blob: e788961a9414cac6c8e759782114eef33f357f61 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pydanfossair";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "JonasPed";
repo = "pydanfoss-air";
tag = "v${version}";
hash = "sha256-ZTairxQbvijNiSomDoeZtmL/Hn3ce1Z5TEOf+0C8cYg=";
};
build-system = [ setuptools ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydanfossair" ];
meta = {
description = "Python interface for Danfoss Air HRV systems";
homepage = "https://github.com/JonasPed/pydanfoss-air";
changelog = "https://github.com/JonasPed/pydanfoss-air/releases/tag/v${version}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|