From b2007d128e2f63d38d6585cfeec6989d7920b925 Mon Sep 17 00:00:00 2001 From: Cryolitia Date: Sat, 6 Jan 2024 11:06:58 +0800 Subject: [PATCH] cmd-wrapped: init at 0.1.1 --- pkgs/by-name/cm/cmd-wrapped/package.nix | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/cm/cmd-wrapped/package.nix diff --git a/pkgs/by-name/cm/cmd-wrapped/package.nix b/pkgs/by-name/cm/cmd-wrapped/package.nix new file mode 100644 index 000000000000..446188b34290 --- /dev/null +++ b/pkgs/by-name/cm/cmd-wrapped/package.nix @@ -0,0 +1,26 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "cmd-wrapped"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "YiNNx"; + repo = "cmd-wrapped"; + rev = version; + hash = "sha256-9GyeJFU8wLl2kCnrwZ+j+PwCRS17NvzgSCpulhXHYqQ="; + }; + + cargoHash = "sha256-i6LgLvLMDF696Tpn4yVA1XNuaTrABLVg3SgclHBq6Go="; + + 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"; + }; +}