nixpkgs/pkgs/development/python-modules/luxtronik/default.nix
2021-11-19 14:12:53 +01:00

36 lines
724 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "luxtronik";
version = "0.3.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Bouni";
repo = "python-luxtronik";
rev = version;
sha256 = "mScdTQ82tV5fyy1S0YDDOz1UC4VB0OmSXD5gHp53WsE=";
};
# 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 ];
};
}