nixpkgs/pkgs/tools/misc/killport/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
614 B
Nix
Raw Normal View History

2023-05-01 09:04:50 +00:00
{ lib
, rustPlatform
, fetchCrate
}:
2023-05-24 20:48:09 +00:00
2023-05-01 09:04:50 +00:00
rustPlatform.buildRustPackage rec {
pname = "killport";
2023-07-29 01:30:58 +00:00
version = "0.9.1";
2023-05-01 09:04:50 +00:00
src = fetchCrate {
inherit pname version;
2023-07-29 01:30:58 +00:00
hash = "sha256-aaKvrWJGZ26wyqoblAcUkGUPkbt8XNx9Z4xT+qI2B3o=";
2023-05-01 09:04:50 +00:00
};
2023-07-29 01:30:58 +00:00
cargoHash = "sha256-4CUMt5aDHq943uU5PAY1TJtmCqlBvgOruGQ69OG5fB4=";
2023-05-01 09:04:50 +00:00
2023-05-24 20:48:09 +00:00
nativeBuildInputs = [ rustPlatform.bindgenHook ];
2023-05-01 09:04:50 +00:00
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 ];
};
}