nixpkgs/pkgs/development/python-modules/luxtronik/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

37 lines
730 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, poetry-core
, 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 ];
};
}