Unverified Commit 8c5f01ab authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #235067 from NixOS/backport-234720-to-release-23.05

[Backport release-23.05] httpdump: 20210126-d2e0dea -> unstable-2023-05-07
parents 8c11bacb 396b3020
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -6,25 +6,25 @@

buildGoModule rec {
  pname = "httpdump";
  version = "20210126-${lib.strings.substring 0 7 rev}";
  rev = "d2e0deadca5f9ec2544cb252da3c450966d1860e";
  version = "unstable-2023-05-07";

  src = fetchFromGitHub {
    owner = "hsiafan";
    repo = pname;
    inherit rev;
    sha256 = "0yh8kxy1k23lln09b614limwk9y59r7cn5qhbnzc06ga4mxfczv2";
    rev = "e971e00e0136d5c770c4fdddb1c2095327d419d8";
    hash = "sha256-3BzvIaZKBr/HHplJe5hM7u8kigmMHxCvkiVXFZopUCQ=";
  };

  vendorSha256 = null; #vendorSha256 = "";
  vendorHash = "sha256-NKCAzx1+BkqZGeAORl7gCA7f9PSsyKxP2eggZyBB2l8=";

  propagatedBuildInputs = [ libpcap ];

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Parse and display HTTP traffic from network device or pcap file";
    homepage = "https://github.com/hsiafan/httpdump";
    license = with licenses; [ bsd2 ];
    maintainers = with maintainers; [ fab ];
    broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check
  };
}