Files
nixpkgs/pkgs/development/python-modules/hdfury/default.nix
T

38 lines
815 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
}:
buildPythonPackage (finalAttrs: {
pname = "hdfury";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "glenndehaan";
repo = "python-hdfury";
tag = finalAttrs.version;
hash = "sha256-ndJpxFebSsfXQ1aUe20Ajbgks3gA3KXo8kY5FaJ/BW0=";
};
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 ];
};
})