python313Packages.finitude: fix build (#373149)
This commit is contained in:
@@ -6,27 +6,29 @@
|
||||
pyserial,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
legacy-cgi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "finitude";
|
||||
version = "0.1.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dulitz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = "finitude";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-yCI5UCRDhw+dJoTKyjmHbAGBm3by2AyxHKlqCywnLcs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
pyserial
|
||||
legacy-cgi
|
||||
prometheus-client
|
||||
pyyaml
|
||||
];
|
||||
@@ -36,10 +38,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "finitude" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python module to get data from ABCD bus (RS-485) used by Carrier Infinity and Bryant Evolution HVAC systems";
|
||||
homepage = "https://github.com/dulitz/finitude";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
changelog = "https://github.com/dulitz/finitude/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user