Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "carl";
9 version = "0.3.1";
10
11 src = fetchFromGitHub {
12 owner = "b1rger";
13 repo = "carl";
14 rev = "v${version}";
15 hash = "sha256-+l11eP+1qKrWbZhyUJgQ8FgQ+2rncx778F5RPzCfvV4=";
16 };
17
18 doCheck = false;
19
20 cargoHash = "sha256-kzHMjrLCiiMLMTSozKq5jMWq3rGb+xsXhZoOuod7qGE=";
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}