depot/third_party/nixpkgs/pkgs/by-name/sc/scilla/package.nix

38 lines
834 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "scilla";
version = "1.3.1";
src = fetchFromGitHub {
owner = "edoardottt";
repo = "scilla";
rev = "refs/tags/v${version}";
hash = "sha256-V6QJqjuVLE6jpwv4XbsdPx8kpfTRjV4QH5O6lng9+h4=";
};
vendorHash = "sha256-yTsiEA6NI2atN1VrclwVe1xz7CEFfcuRt4yMuz2CFog=";
ldflags = [
"-w"
"-s"
];
checkFlags = [
# requires network access
"-skip=TestIPToHostname"
];
meta = with lib; {
description = "Information gathering tool for DNS, ports and more";
mainProgram = "scilla";
homepage = "https://github.com/edoardottt/scilla";
changelog = "https://github.com/edoardottt/scilla/releases/tag/v${version}";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}