depot/third_party/nixpkgs/pkgs/tools/misc/killport/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

25 lines
614 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "killport";
version = "0.9.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-aaKvrWJGZ26wyqoblAcUkGUPkbt8XNx9Z4xT+qI2B3o=";
};
cargoHash = "sha256-4CUMt5aDHq943uU5PAY1TJtmCqlBvgOruGQ69OG5fB4=";
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 ];
};
}