mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
38 lines
852 B
Nix
38 lines
852 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "pyyardian";
|
|
version = "1.3.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "h3l1o5";
|
|
repo = "pyyardian";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-LOHE8vGrT25sgjhcNarMOi0hzpPpHjVIeVq7CezYicY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyyardian" ];
|
|
|
|
meta = {
|
|
description = "Module for interacting with the Yardian irrigation controller";
|
|
homepage = "https://github.com/h3l1o5/pyyardian";
|
|
changelog = "https://github.com/aeon-matrix/pyyardian/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|