mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 02:20:36 +00:00
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
bleak,
|
|
bleak-retry-connector,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
mashumaro,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "pylamarzocco";
|
|
version = "2.4.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zweckj";
|
|
repo = "pylamarzocco";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-X2Oyo7pCSb/M5abflAHiPK8tlWO85uTqisdQYcGx66c=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
bleak
|
|
bleak-retry-connector
|
|
cryptography
|
|
mashumaro
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "pylamarzocco" ];
|
|
|
|
meta = {
|
|
description = "Library to interface with La Marzocco's cloud";
|
|
homepage = "https://github.com/zweckj/pylamarzocco";
|
|
changelog = "https://github.com/zweckj/pylamarzocco/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|