nixpkgs/pkgs/by-name/ha/havn/package.nix

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

38 lines
1.0 KiB
Nix
Raw Normal View History

2024-05-28 14:43:11 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "havn";
2024-07-26 08:24:39 +00:00
version = "0.1.13";
2024-05-28 14:43:11 +00:00
src = fetchFromGitHub {
owner = "mrjackwills";
repo = "havn";
rev = "refs/tags/v${version}";
2024-07-26 08:24:39 +00:00
hash = "sha256-z6505lMqNQ0FpMMRJwpOFodELfDeoIjrjG58mrfSvTY=";
2024-05-28 14:43:11 +00:00
};
2024-07-26 08:24:39 +00:00
cargoHash = "sha256-RzfIu2apaFacSJz29UTaCKcC7Y81uxj1EerVyxZB50E=";
2024-05-28 14:43:11 +00:00
checkFlags = [
# Skip tests that require network access
"--skip=scanner::tests::test_scanner_1000_80_443"
"--skip=scanner::tests::test_scanner_all_80"
"--skip=scanner::tests::test_scanner_port_80"
"--skip=terminal::print::tests::test_terminal_monochrome_false"
];
meta = {
homepage = "https://github.com/mrjackwills/havn";
description = "Fast configurable port scanner with reasonable defaults";
changelog = "https://github.com/mrjackwills/havn/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
mainProgram = "havn";
platforms = lib.platforms.linux;
};
}