nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 926 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "carl"; 9 version = "0.6.0"; 10 11 src = fetchFromGitHub { 12 owner = "b1rger"; 13 repo = "carl"; 14 rev = "v${version}"; 15 hash = "sha256-ikD4T3zP/IJ+8Wxn8aohJTKbcy+QKAUoX/kkVAUVoNk="; 16 }; 17 18 doCheck = false; 19 20 cargoHash = "sha256-b2BilwYCNTT1B3Cuia8N6ay6HRxf0Mkrkdu5qzksxoQ="; 21 22 meta = { 23 description = "cal(1) with more features and written in rust"; 24 longDescription = '' 25 Carl is a calendar for the commandline. It tries to mimic the various cal(1) 26 implementations out there, but also adds enhanced features like colors and ical 27 support 28 ''; 29 homepage = "https://github.com/b1rger/carl"; 30 changelog = "https://github.com/b1rger/carl/blob/${src.rev}/CHANGELOG.md"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ matthewcroughan ]; 33 mainProgram = "carl"; 34 }; 35}