mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge pull request #233878 from wegank/killport-hook
killport: switch to bindgenHook
This commit is contained in:
commit
5e1bb747d2
@ -1,8 +1,8 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, llvmPackages
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "killport";
|
||||
version = "0.8.0";
|
||||
@ -12,9 +12,9 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-ip7Ndy4i4P6n20COfSL/EtG1Y+xoab8Gox4gcNHH1/o=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-M4riyvGueCQDKOj+lgYPm2lZ8UjCp1y/SyG692vZbS4=";
|
||||
cargoHash = "sha256-M4riyvGueCQDKOj+lgYPm2lZ8UjCp1y/SyG692vZbS4=";
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line tool to easily kill processes running on a specified port";
|
||||
|
Loading…
Reference in New Issue
Block a user