depot/third_party/nixpkgs/pkgs/tools/misc/ikill/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

24 lines
624 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "ikill";
version = "1.6.0";
src = fetchFromGitHub {
owner = "pjmp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hOQBBwxkVnTkAZJi84qArwAo54fMC0zS+IeYMV04kUs=";
};
cargoHash = "sha256-zKa2FP0lBS2XjgPWfyPZ60aHyeAe0uNIFbmuX4Uo1rA=";
meta = with lib; {
description = "Interactively kill running processes";
homepage = "https://github.com/pjmp/ikill";
maintainers = with maintainers; [ zendo ];
license = [ licenses.mit ];
platforms = platforms.linux;
mainProgram = "ikill";
};
}