Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, python3 3, fetchFromGitHub 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "calcure"; 8 version = "2.8.2"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "anufrievroman"; 13 repo = "calcure"; 14 rev = version; 15 hash = "sha256-CWuyBjIhEYb3zOIXT0+pVs9fFahMi04yq2sJjDMwKTI="; 16 }; 17 18 nativeBuildInputs = [ 19 python3.pkgs.setuptools 20 python3.pkgs.wheel 21 ]; 22 23 propagatedBuildInputs = with python3.pkgs; [ 24 jdatetime 25 holidays 26 ics 27 attrs 28 ]; 29 30 pythonImportsCheck = [ "calcure" ]; 31 32 meta = with lib; { 33 description = "Modern TUI calendar and task manager with minimal and customizable UI"; 34 homepage = "https://github.com/anufrievroman/calcure"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ dit7ya ]; 37 }; 38}