gqrx: add darwin support (#375406)
[NixPkgs.git] / pkgs / by-name / pa / padre / package.nix
blobc24ee299579c602a964ac9488f1a2d4809f49575
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "padre";
9   version = "2.1.0";
11   src = fetchFromGitHub {
12     owner = "glebarez";
13     repo = "padre";
14     tag = "v${version}";
15     hash = "sha256-UkL0EydwQfZl4HVtXiU8AyLJnzqBwECIgwm3bpQvyes=";
16   };
18   vendorHash = "sha256-BBDGnz8u2FEKwuTP9DKz6FoODaW4+VFcL36lumoYTb8=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   meta = with lib; {
26     description = "Advanced exploiting tool for Padding Oracle attacks against CBC mode encryption";
27     homepage = "https://github.com/glebarez/padre";
28     changelog = "https://github.com/glebarez/padre/releases/tag/v${version}";
29     # https://github.com/glebarez/padre/issues/28
30     license = licenses.unfree;
31     maintainers = with maintainers; [ fab ];
32     mainProgram = "padre";
33   };