about summary refs log tree commit diff
path: root/pkgs/tools/misc/ikill/default.nix
blob: b5c18e5dfd97540df66364e6f6c44c0669872970 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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=";
  };

  cargoSha256 = "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";
  };
}