1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "flexit-bacnet";
10 version = "2.2.3";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "piotrbulinski";
15 repo = "flexit_bacnet";
16 tag = version;
17 hash = "sha256-MudBn+ki/jqeFK1iz/vAXaXkkddLThO+1T4BXFJ90lk=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "flexit_bacnet" ];
23
24 # upstream has no tests
25 doCheck = false;
26
27 meta = {
28 changelog = "https://github.com/piotrbulinski/flexit_bacnet/releases/tag/${version}";
29 description = "Client BACnet library for Flexit Nordic series of air handling units";
30 homepage = "https://github.com/piotrbulinski/flexit_bacnet";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ dotlambda ];
33 };
34}