Skip to content

Commit

Permalink
pik: init at 0.9.0 (NixOS#350269)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Nov 6, 2024
2 parents a441e7b + 7e59ed7 commit ef9f45a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/pi/pik/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit ef9f45a

Please sign in to comment.