36 lines
956 B
Nix
36 lines
956 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "carl";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "b1rger";
|
|
repo = "carl";
|
|
rev = "v${version}";
|
|
hash = "sha256-+l11eP+1qKrWbZhyUJgQ8FgQ+2rncx778F5RPzCfvV4=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-kzHMjrLCiiMLMTSozKq5jMWq3rGb+xsXhZoOuod7qGE=";
|
|
|
|
meta = {
|
|
description = "cal(1) with more features and written in rust";
|
|
longDescription = ''
|
|
Carl is a calendar for the commandline. It tries to mimic the various cal(1)
|
|
implementations out there, but also adds enhanced features like colors and ical
|
|
support
|
|
'';
|
|
homepage = "https://github.com/b1rger/carl";
|
|
changelog = "https://github.com/b1rger/carl/blob/${src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ matthewcroughan ];
|
|
mainProgram = "carl";
|
|
};
|
|
}
|