nixos/alsa: reintroduce hardware.alsa.enablePersistence (#373529)
[NixPkgs.git] / pkgs / development / python-modules / gcsa / default.nix
blobc487881f92b454c8b1d600cd3b035d20de6f97e9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   pyfakefs,
8   tzlocal,
9   google-api-python-client,
10   google-auth-httplib2,
11   google-auth-oauthlib,
12   python-dateutil,
13   beautiful-date,
16 buildPythonPackage rec {
17   pname = "gcsa";
18   version = "2.1.0";
19   format = "setuptools";
20   disabled = pythonOlder "3.6";
22   src = fetchFromGitHub {
23     owner = "kuzmoyev";
24     repo = "google-calendar-simple-api";
25     rev = "v${version}";
26     hash = "sha256-Ye8mQSzgaEZx0vUpt5xiMrJTFh2AmSB7ZZlKaEj/YpM=";
27   };
29   propagatedBuildInputs = [
30     tzlocal
31     google-api-python-client
32     google-auth-httplib2
33     google-auth-oauthlib
34     python-dateutil
35     beautiful-date
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     pyfakefs
41   ];
42   pythonImportsCheck = [ "gcsa" ];
44   meta = with lib; {
45     description = "Pythonic wrapper for the Google Calendar API";
46     homepage = "https://github.com/kuzmoyev/google-calendar-simple-api";
47     license = licenses.mit;
48     maintainers = with maintainers; [ mbalatsko ];
49   };