depot/third_party/nixpkgs/pkgs/tools/misc/killport/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

28 lines
677 B
Nix

{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "killport";
version = "0.9.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-eyRI4ZVp9HPMvpzyV9sQdh2r966pCdyUPnEhxGkzH3Q=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-rJgbTJGRZNev5hPyH7NuRB0Utpdbh6zoYQL4rbfhn2Y=";
nativeBuildInputs = [ rustPlatform.bindgenHook ];
meta = with lib; {
description = "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 ];
mainProgram = "killport";
};
}