Files
nixpkgs/pkgs/development/python-modules/hdfury/default.nix
T
2026-01-05 15:23:02 +01:00

38 lines
815 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "hdfury";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "glenndehaan";
repo = "python-hdfury";
tag = finalAttrs.version;
hash = "sha256-vEIlDhDWC7My9mqXxHseDpvW/vWe9jWkYzcgz3xFhyQ=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "hdfury" ];
# Module no tests
doCheck = false;
meta = {
description = "Python client for HDFury devices";
homepage = "https://github.com/glenndehaan/python-hdfury";
changelog = "https://github.com/glenndehaan/python-hdfury/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})