diff options
author | Antti Keränen <detegr@rbx.email> | 2023-09-08 09:16:36 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-08 16:27:47 +0200 |
commit | fc4d0f61585c0ccdf7de2ef789d0095d0f0258fc (patch) | |
tree | 51c6dc1287e0cd8fb239b77c942ff88d6310735d /pkgs/by-name | |
parent | be7925045aefcc3b87285f38e0d2ce955021e294 (diff) |
rusti-cal: init at 1.1.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ru/rusti-cal/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/ru/rusti-cal/package.nix b/pkgs/by-name/ru/rusti-cal/package.nix new file mode 100644 index 0000000000000..3dd368e19257e --- /dev/null +++ b/pkgs/by-name/ru/rusti-cal/package.nix @@ -0,0 +1,31 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, darwin +}: + +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-5eS+OMaNAVNyDMKFNfb0J0rLsikw2LCXhWk7MS9UV2k="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Foundation + ]; + + meta = with lib; { + description = "Minimal command line calendar, similar to cal"; + homepage = "https://github.com/arthurhenrique/rusti-cal"; + license = [ licenses.mit ]; + maintainers = [ maintainers.detegr ]; + }; +} |