depot/third_party/nixpkgs/pkgs/tools/misc/killport/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

25 lines
632 B
Nix

{ lib
, rustPlatform
, fetchCrate
, llvmPackages
}:
rustPlatform.buildRustPackage rec {
pname = "killport";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-ip7Ndy4i4P6n20COfSL/EtG1Y+xoab8Gox4gcNHH1/o=";
};
cargoSha256 = "sha256-M4riyvGueCQDKOj+lgYPm2lZ8UjCp1y/SyG692vZbS4=";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
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 ];
};
}