2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "killport";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.9.1";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-aaKvrWJGZ26wyqoblAcUkGUPkbt8XNx9Z4xT+qI2B3o=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
cargoHash = "sha256-4CUMt5aDHq943uU5PAY1TJtmCqlBvgOruGQ69OG5fB4=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
2023-05-24 13:37:59 +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 ];
|
|
|
|
};
|
|
|
|
}
|