nixpkgs/pkgs/by-name/cm/cmd-wrapped/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
630 B
Nix
Raw Normal View History

2024-01-06 03:06:58 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cmd-wrapped";
2024-02-10 08:20:26 +00:00
version = "0.2.0";
2024-01-06 03:06:58 +00:00
src = fetchFromGitHub {
owner = "YiNNx";
repo = "cmd-wrapped";
rev = version;
2024-02-10 08:20:26 +00:00
hash = "sha256-YWX4T3EiBIbEG/NGShuHRyxfdVGrqQH6J42EDkRblNQ=";
2024-01-06 03:06:58 +00:00
};
2024-02-10 08:20:26 +00:00
cargoHash = "sha256-CM2IpWs1vGiXHvQNgHyD6cUgMYSkp5+23j+YyF9G9IE=";
2024-01-06 03:06:58 +00:00
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";
};
}