nixpkgs/pkgs/by-name/cm/cmd-wrapped/package.nix
2024-09-02 10:07:32 +08:00

26 lines
636 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cmd-wrapped";
version = "0.4.1";
src = fetchFromGitHub {
owner = "YiNNx";
repo = "cmd-wrapped";
rev = "v${version}";
hash = "sha256-tIvwJo33Jz9cPq6o4Ytc3VqkxEaxt0W9Fd8CNp+7vAE=";
};
cargoHash = "sha256-pAlAWG9Dfqhhvl7uVvzr4nx481seIwwzBg+5SSsje84=";
meta = with lib; {
description = "Find out what the past year looks like in commandline";
homepage = "https://github.com/YiNNx/cmd-wrapped";
license = licenses.mit;
maintainers = with maintainers; [ Cryolitia ];
mainProgram = "cmd-wrapped";
};
}