depot/third_party/nixpkgs/pkgs/development/python-modules/luxtronik/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

33 lines
698 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "luxtronik";
version = "0.3.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Bouni";
repo = "python-luxtronik";
rev = version;
hash = "sha256-7TuvqOAb/MUumOF6BKTRLOJuvteqZPmFUXXsuwEpmOM=";
};
# 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 ];
};
}