about summary refs log tree commit diff
path: root/pkgs/by-name/po
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-06-17 11:01:30 +0200
committerGitHub <noreply@github.com>2024-06-17 11:01:30 +0200
commita9b494b6bcc31b6df8459b307448103412270006 (patch)
tree51f17bd042f829c82228a77d7feff29c02b8401f /pkgs/by-name/po
parente482156f48b2d8a9ec31368bcbd31773a2ac5578 (diff)
parent391c730310782ac9d69e913ae72824be86990f18 (diff)
Merge pull request #320365 from fabaff/poutine
poutine: init at 0.11.0
Diffstat (limited to 'pkgs/by-name/po')
-rw-r--r--pkgs/by-name/po/poutine/package.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/po/poutine/package.nix b/pkgs/by-name/po/poutine/package.nix
new file mode 100644
index 0000000000000..617454ae468ee
--- /dev/null
+++ b/pkgs/by-name/po/poutine/package.nix
@@ -0,0 +1,33 @@
+{
+  lib,
+  buildGoModule,
+  fetchFromGitHub,
+}:
+
+buildGoModule rec {
+  pname = "poutine";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "boostsecurityio";
+    repo = "poutine";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-T81Qi79VaZzfKL4niTZQW+gwwiBcyInALrvyUg1V4Ck=";
+  };
+
+  vendorHash = "sha256-/chq40j+puAI3KdI15vbZwrnzCKrU7g+Z/t9aOXQ1Sg=";
+
+  ldflags = [
+    "-s"
+    "-w"
+  ];
+
+  meta = with lib; {
+    description = "Security scanner that detects misconfigurations and vulnerabilities in build pipelines of repositories";
+    homepage = "https://github.com/boostsecurityio/poutine";
+    changelog = "https://github.com/boostsecurityio/poutine/releases/tag/v${version}";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "poutine";
+  };
+}