evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ud / udpx / package.nix
blobf240057a2b6d0dc441d82e0853c6c8808a9b4653
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "udpx";
8   version = "1.0.7";
10   src = fetchFromGitHub {
11     owner = "nullt3r";
12     repo = "udpx";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-IRnGi3TmCyxmJKAd8ZVRoSHDao+3Xt4F5QfHvNahvGo=";
15   };
17   vendorHash = null;
19   ldflags = [
20     "-s"
21     "-w"
22   ];
24   meta = with lib; {
25     description = "Single-packet UDP scanner";
26     mainProgram = "udpx";
27     homepage = "https://github.com/nullt3r/udpx";
28     changelog = "https://github.com/nullt3r/udpx/releases/tag/v${version}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ fab ];
31   };