python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / nr / nray / package.nix
blobbfbe6d969ba39901655c720609203a347d8b1fdd
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "nray";
9   version = "1.1.0";
11   src = fetchFromGitHub {
12     owner = "nray-scanner";
13     repo = "nray";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-N78Bm/Le+pbA8hvDaUbjQpcdRlM0RKXnXyjOB8Nz3AE=";
16   };
18   vendorHash = "sha256-hCFFMSaT73Wx54KayuFc2xJRGp0p10Pn93N8t4Xad8g=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   env = {
26     CGO_CFLAGS = "-Wno-undef-prefix";
27   };
29   meta = with lib; {
30     description = "Distributed port scanner";
31     homepage = "https://github.com/nray-scanner/nray";
32     changelog = "https://github.com/nray-scanner/nray/releases/tag/v${version}";
33     license = licenses.gpl3Only;
34     maintainers = with maintainers; [ fab ];
35     mainProgram = "nray";
36     platforms = platforms.linux;
37   };