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{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, freezegun, ical, pydantic, pytest-aiohttp, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "gcal-sync"; version = "8.0.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "allenporter"; repo = "gcal_sync"; tag = version; hash = "sha256-+L34vKV7xCD+Jj47WrQufzLZddPhhKWaSMo1UQKeHRY="; };
build-system = [ setuptools ];
dependencies = [ aiohttp ical pydantic ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ freezegun pytest-aiohttp pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "gcal_sync" ];
meta = with lib; { description = "Library for syncing Google Calendar to local storage"; homepage = "https://github.com/allenporter/gcal_sync"; changelog = "https://github.com/allenporter/gcal_sync/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ dotlambda ]; };}