nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 961 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pyfakefs, 7 tzlocal, 8 google-api-python-client, 9 google-auth-httplib2, 10 google-auth-oauthlib, 11 python-dateutil, 12 beautiful-date, 13}: 14 15buildPythonPackage rec { 16 pname = "gcsa"; 17 version = "2.6.0"; 18 format = "setuptools"; 19 20 src = fetchFromGitHub { 21 owner = "kuzmoyev"; 22 repo = "google-calendar-simple-api"; 23 rev = "v${version}"; 24 hash = "sha256-I4IKuG9/4/JrEQ7PD1BwGFmCa1q3GOe4srHmpwt1OUU="; 25 }; 26 27 propagatedBuildInputs = [ 28 tzlocal 29 google-api-python-client 30 google-auth-httplib2 31 google-auth-oauthlib 32 python-dateutil 33 beautiful-date 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 pyfakefs 39 ]; 40 pythonImportsCheck = [ "gcsa" ]; 41 42 meta = { 43 description = "Pythonic wrapper for the Google Calendar API"; 44 homepage = "https://github.com/kuzmoyev/google-calendar-simple-api"; 45 license = lib.licenses.mit; 46 maintainers = [ ]; 47 }; 48}