mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
26 lines
614 B
Nix
26 lines
614 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "killport";
|
|
version = "0.8.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-ip7Ndy4i4P6n20COfSL/EtG1Y+xoab8Gox4gcNHH1/o=";
|
|
};
|
|
|
|
cargoHash = "sha256-M4riyvGueCQDKOj+lgYPm2lZ8UjCp1y/SyG692vZbS4=";
|
|
|
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
|
|
|
meta = with lib; {
|
|
description = "A command-line tool to easily kill processes running on a specified port";
|
|
homepage = "https://github.com/jkfran/killport";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sno2wman ];
|
|
};
|
|
}
|