mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 13:05:16 +00:00
38 lines
880 B
Nix
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 ];
|
|
};
|
|
})
|