Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 41 lines 778 B view raw
1{ lib 2, python3 3, fetchFromGitHub 4, nixosTests 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "calendar-cli"; 9 version = "1.0.1"; 10 11 src = fetchFromGitHub { 12 owner = "tobixen"; 13 repo = "calendar-cli"; 14 rev = "v${version}"; 15 hash = "sha256-w35ySLnfxXZR/a7BrPLYqXs2kqkuYhh5PcgNxJqjDtE="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 icalendar 20 caldav 21 pytz 22 pyyaml 23 tzlocal 24 click 25 six 26 ]; 27 28 # tests require networking 29 doCheck = false; 30 31 passthru.tests = { 32 inherit (nixosTests) radicale; 33 }; 34 35 meta = with lib; { 36 description = "Simple command-line CalDav client"; 37 homepage = "https://github.com/tobixen/calendar-cli"; 38 license = licenses.gpl3Plus; 39 maintainers = with maintainers; [ dotlambda ]; 40 }; 41}