mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 14:23:40 +00:00
38 lines
834 B
Nix
38 lines
834 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "indevolt-api";
|
|
version = "1.8.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Xirt";
|
|
repo = "indevolt-api";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-AHW4fh9Smfu2wW6zhIbTHbUm1RHGzgaAMEFolq+19dA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
# no tests in upstream repository
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "indevolt_api" ];
|
|
|
|
meta = {
|
|
description = "Python API client for Indevolt devices";
|
|
homepage = "https://github.com/Xirt/indevolt-api";
|
|
changelog = "https://github.com/Xirt/indevolt-api/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
})
|