nixpkgs/pkgs/development/python-modules/finitude/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
994 B
Nix
Raw Permalink Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
prometheus-client,
pyserial,
pythonOlder,
pyyaml,
2025-01-12 11:28:08 +00:00
legacy-cgi,
setuptools,
}:
buildPythonPackage rec {
pname = "finitude";
version = "0.1.1";
2025-01-12 11:28:08 +00:00
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dulitz";
2025-01-12 11:28:08 +00:00
repo = "finitude";
tag = "v${version}";
hash = "sha256-yCI5UCRDhw+dJoTKyjmHbAGBm3by2AyxHKlqCywnLcs=";
};
2025-01-12 11:28:08 +00:00
build-system = [ setuptools ];
2025-01-12 11:28:08 +00:00
dependencies = [
pyserial
2025-01-12 11:28:08 +00:00
legacy-cgi
prometheus-client
pyyaml
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "finitude" ];
2025-01-12 11:28:08 +00:00
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";
changelog = "https://github.com/dulitz/finitude/releases/tag/v${version}";
2025-01-12 11:28:08 +00:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}