From 7e59ed7f3200e890764c1ff43e88f6da2706d8a5 Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Mon, 21 Oct 2024 17:42:25 +0200 Subject: [PATCH] pik: init at 0.9.0 --- pkgs/by-name/pi/pik/package.nix | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/pi/pik/package.nix diff --git a/pkgs/by-name/pi/pik/package.nix b/pkgs/by-name/pi/pik/package.nix new file mode 100644 index 0000000000000..c40651558d521 --- /dev/null +++ b/pkgs/by-name/pi/pik/package.nix @@ -0,0 +1,35 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + testers, + pik, +}: + +rustPlatform.buildRustPackage rec { + pname = "pik"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "jacek-kurlit"; + repo = "pik"; + rev = version; + hash = "sha256-YAnMSVQu/E+OyhHX3vugfBocyi++aGwG9vF6zL8T2RU="; + }; + + cargoHash = "sha256-a7mqtxZMJl8zR8oCfuGNAiT5MEAmNpbDLSgi8A6FfPA="; + + passthru.tests.version = testers.testVersion { package = pik; }; + + meta = { + description = "Process Interactive Kill"; + longDescription = '' + Process Interactive Kill is a command line tool that helps to find and kill process. + It works like pkill command but search is interactive. + ''; + homepage = "https://github.com/jacek-kurlit/pik"; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ bew ]; + mainProgram = "pik"; + }; +}