diff --git a/pkgs/development/python-modules/finitude/default.nix b/pkgs/development/python-modules/finitude/default.nix index cf2e80928f06..dbc2a6282c81 100644 --- a/pkgs/development/python-modules/finitude/default.nix +++ b/pkgs/development/python-modules/finitude/default.nix @@ -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 ]; }; }