nixpkgs/pkgs/development/python-modules/luxtronik/default.nix
2022-01-11 08:23:43 -08:00

37 lines
732 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "luxtronik";
version = "0.3.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Bouni";
repo = "python-luxtronik";
rev = version;
sha256 = "sha256-JPY1HbNZanEsUpQ5W2kAwEFvwNGQI2hoogTZUGIg3YY=";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"luxtronik"
];
meta = with lib; {
description = "Python library to interact with Luxtronik heatpump controllers";
homepage = "https://github.com/Bouni/python-luxtronik";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}