nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 42 lines 896 B view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "calcure"; 9 version = "3.2.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "anufrievroman"; 14 repo = "calcure"; 15 tag = version; 16 hash = "sha256-YFX70gtNcIXG5XIuMlz47nmtjt/2oHzi6cajcj+DAyQ="; 17 }; 18 19 nativeBuildInputs = with python3.pkgs; [ 20 setuptools 21 ]; 22 23 propagatedBuildInputs = with python3.pkgs; [ 24 holidays 25 icalendar 26 jdatetime 27 taskw 28 ]; 29 30 pythonImportsCheck = [ 31 "calcure" 32 ]; 33 34 meta = with lib; { 35 description = "Modern TUI calendar and task manager with minimal and customizable UI"; 36 mainProgram = "calcure"; 37 homepage = "https://github.com/anufrievroman/calcure"; 38 changelog = "https://github.com/anufrievroman/calcure/releases/tag/${src.tag}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ dit7ya ]; 41 }; 42}