python3Packages.gcal-sync: init at 0.7.1

main
Robert Schütz 2 years ago
parent 440f2e1de2
commit 9170fcf74f
  1. 46
      pkgs/development/python-modules/gcal-sync/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, pydantic
, freezegun
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "gcal-sync";
version = "0.7.1";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "allenporter";
repo = "gcal_sync";
rev = version;
hash = "sha256-NOB74P+5i63FEeHJsPXRdRgY6iyIUEn7BogbVKm8P5M=";
};
propagatedBuildInputs = [
aiohttp
pydantic
];
checkInputs = [
freezegun
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "gcal_sync" ];
meta = {
description = "Python library for syncing Google Calendar to local storage";
homepage = "https://github.com/allenporter/gcal_sync";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

@ -3268,6 +3268,8 @@ in {
gbulb = callPackage ../development/python-modules/gbulb { };
gcal-sync = callPackage ../development/python-modules/gcal-sync { };
gcovr = callPackage ../development/python-modules/gcovr { };
gcsfs = callPackage ../development/python-modules/gcsfs { };

Loading…
Cancel
Save