bitwarden-desktop: 2024.12.1 -> 2025.1.1 (#374021)
[NixPkgs.git] / pkgs / by-name / ou / out-of-tree / package.nix
blob0617756b90cd2208e5ee15d8de6f25c72c1ce420
2   lib,
3   buildGoModule,
4   fetchgit,
5   qemu,
6   podman,
7   makeWrapper,
8 }:
10 buildGoModule rec {
11   pname = "out-of-tree";
12   version = "2.1.1";
14   nativeBuildInputs = [ makeWrapper ];
16   src = fetchgit {
17     tag = "v${version}";
18     url = "https://code.dumpstack.io/tools/${pname}.git";
19     hash = "sha256-XzO8NU7A5m631PjAm0F/K7qLrD+ZDSdHXaNowGaZAPo=";
20   };
22   vendorHash = "sha256-p1dqzng3ak9lrnzrEABhE1TP1lM2Ikc8bmvp5L3nUp0=";
24   doCheck = false;
26   postFixup = ''
27     wrapProgram $out/bin/out-of-tree \
28       --prefix PATH : "${
29         lib.makeBinPath [
30           qemu
31           podman
32         ]
33       }"
34   '';
36   meta = with lib; {
37     description = "kernel {module, exploit} development tool";
38     mainProgram = "out-of-tree";
39     homepage = "https://out-of-tree.io";
40     maintainers = [ maintainers.dump_stack ];
41     license = licenses.agpl3Plus;
42   };