Files
nixpkgs/pkgs/development/python-modules/aladdin-connect/default.nix
2026-05-28 23:58:56 +02:00

38 lines
880 B
Nix

{
lib,
requests,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aladdin-connect";
version = "0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "shoejosh";
repo = "aladdin-connect";
tag = finalAttrs.version;
hash = "sha256-kLvMpSGa5WyDOH3ejAJyFGsB9IiMXp+nvVxM/ZkxyFw=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aladdin_connect" ];
meta = {
description = "Python library for interacting with Genie Aladdin Connect devices";
homepage = "https://github.com/shoejosh/aladdin-connect";
changelog = "https://github.com/shoejosh/aladdin-connect/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
})