nixpkgs/pkgs/tools/misc/ikill/default.nix
2022-04-27 19:02:35 +08:00

24 lines
599 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "ikill";
version = "1.5.0";
src = fetchFromGitHub {
owner = "pjmp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sxFuDHlrEO2/gA9I++yNAISvsF7wFjSMUI+diVM/+EI=";
};
cargoSha256 = "sha256-dJa+bXJTA2Jju1p29Fyj87N0Pr/l6XRr3QqemhD2BAA=";
meta = with lib; {
description = "Interactively kill running processes";
homepage = "https://github.com/pjmp/ikill";
maintainers = with maintainers; [ zendo ];
license = [ licenses.mit ];
platforms = platforms.linux;
};
}