Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ aiofiles, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, lib, mashumaro, pytest-asyncio, pytestCheckHook, setuptools, syrupy,}:
buildPythonPackage rec { pname = "aioimmich"; version = "0.11.1"; pyproject = true;
src = fetchFromGitHub { owner = "mib1185"; repo = "aioimmich"; tag = "v${version}"; hash = "sha256-f/zTgaLqR0WRhi7ea2djfHbI3/qz2p5lArsKNLz/Y1s="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail setuptools==80.9.0 setuptools '';
build-system = [ setuptools ];
dependencies = [ aiofiles aiohttp mashumaro ];
pythonImportsCheck = [ "aioimmich" ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook syrupy ];
meta = { changelog = "https://github.com/mib1185/aioimmich/releases/tag/${src.tag}"; description = "Asynchronous library to fetch albums and assests from immich"; homepage = "https://github.com/mib1185/aioimmich"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };}