28 lines
638 B
Nix
28 lines
638 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rusti-cal";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arthurhenrique";
|
|
repo = "rusti-cal";
|
|
rev = "v${version}";
|
|
hash = "sha256-pdsP2nuJh30BzqIyxSQXak/rceA4hI9jBYy1dDVEIvI=";
|
|
};
|
|
|
|
cargoHash = "sha256-9nd8xm3jAFouRYKSFpx3vQQaI/2wQzTaaehXjqljIfw=";
|
|
|
|
meta = with lib; {
|
|
description = "Minimal command line calendar, similar to cal";
|
|
mainProgram = "rusti-cal";
|
|
homepage = "https://github.com/arthurhenrique/rusti-cal";
|
|
license = [ licenses.mit ];
|
|
maintainers = [ maintainers.detegr ];
|
|
};
|
|
}
|