nixpkgs/pkgs/tools/misc/killport/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
642 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "killport";
version = "0.9.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-eyRI4ZVp9HPMvpzyV9sQdh2r966pCdyUPnEhxGkzH3Q=";
};
cargoHash = "sha256-QQ43dT9BTu7qCzpnTGKzlVL6jKDXofXStYWYNLHSuVs=";
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";
};
}