mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-28 03:04:41 +00:00
Diff: https://github.com/mib1185/aioimmich/compare/v0.16.3...v0.17.0 Changelog: https://github.com/mib1185/aioimmich/releases/tag/v0.17.0
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
aiofiles,
|
|
aiohttp,
|
|
aiointercept,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
mashumaro,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioimmich";
|
|
version = "0.17.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mib1185";
|
|
repo = "aioimmich";
|
|
tag = "v${version}";
|
|
hash = "sha256-2T92WPGyeTb0mOzbBnKMhnIbDWRc2ZSVyL3uBdG1Zhw=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace pyproject.toml \
|
|
--replace-fail setuptools==83.0.0 setuptools
|
|
'';
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
mashumaro
|
|
];
|
|
|
|
pythonImportsCheck = [ "aioimmich" ];
|
|
|
|
nativeCheckInputs = [
|
|
aiointercept
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/mib1185/aioimmich/releases/tag/${src.tag}";
|
|
description = "Asynchronous library to fetch albums and assets from immich";
|
|
homepage = "https://github.com/mib1185/aioimmich";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|