rusti-cal: init at 1.1.0
This commit is contained in:
parent
be7925045a
commit
fc4d0f6158
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/ru/rusti-cal/package.nix
Normal file
31
pkgs/by-name/ru/rusti-cal/package.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue