nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rusti-cal";
9 version = "1.1.0";
10
11 src = fetchFromGitHub {
12 owner = "arthurhenrique";
13 repo = "rusti-cal";
14 rev = "v${version}";
15 hash = "sha256-pdsP2nuJh30BzqIyxSQXak/rceA4hI9jBYy1dDVEIvI=";
16 };
17
18 cargoHash = "sha256-9nd8xm3jAFouRYKSFpx3vQQaI/2wQzTaaehXjqljIfw=";
19
20 meta = with lib; {
21 description = "Minimal command line calendar, similar to cal";
22 mainProgram = "rusti-cal";
23 homepage = "https://github.com/arthurhenrique/rusti-cal";
24 license = [ licenses.mit ];
25 maintainers = [ maintainers.detegr ];
26 };
27}