mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
killport: 0.9.2 -> 1.1.0
This commit is contained in:
parent
50dd5a5327
commit
a4d865a9c2
1 changed files with 17 additions and 9 deletions
|
@ -4,25 +4,33 @@
|
||||||
fetchCrate,
|
fetchCrate,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "killport";
|
pname = "killport";
|
||||||
version = "0.9.2";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit (finalAttrs) pname version;
|
||||||
hash = "sha256-eyRI4ZVp9HPMvpzyV9sQdh2r966pCdyUPnEhxGkzH3Q=";
|
hash = "sha256-7bENyg/KR4oI//jvG6bw+3UX3j9ITAXCMTpc+65VBZ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-rJgbTJGRZNev5hPyH7NuRB0Utpdbh6zoYQL4rbfhn2Y=";
|
cargoHash = "sha256-+PhaRVpsM/6GOnGkGDROoOGasrZsagK1LqBZTo9IbSI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
checkFlags = [
|
||||||
|
# assertion failed: re.is_match(data)
|
||||||
|
"--skip=test_mode_option"
|
||||||
|
"--skip=test_signal_handling"
|
||||||
|
"--skip=test_dry_run_option"
|
||||||
|
"--skip=test_basic_kill_process"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "Command-line tool to easily kill processes running on a specified port";
|
description = "Command-line tool to easily kill processes running on a specified port";
|
||||||
homepage = "https://github.com/jkfran/killport";
|
homepage = "https://github.com/jkfran/killport";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ sno2wman ];
|
maintainers = with lib.maintainers; [ sno2wman ];
|
||||||
mainProgram = "killport";
|
mainProgram = "killport";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue