Unverified Commit f4aa6afa authored by Lily Foster's avatar Lily Foster Committed by GitHub
Browse files

Merge pull request #228557 from ragingpastry/add-zarf

zarf: init at 0.26.2
parents fe7b996d e2ae1aef
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -12990,6 +12990,12 @@
    githubId = 903072;
    name = "Raghav Sood";
  };
  ragingpastry = {
    email = "senior.crepe@gmail.com";
    github = "ragingpastry";
    githubId = 6778250;
    name = "Nick Wilburn";
  };
  raitobezarius = {
    email = "ryan@lahfa.xyz";
    matrix = "@raitobezarius:matrix.org";
+35 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "zarf";
  version = "0.26.2";

  src = fetchFromGitHub {
    owner = "defenseunicorns";
    repo = "zarf";
    rev = "v${version}";
    hash = "sha256-45ZGHw/u0IkDJSlNaNg9At4rvBU9+CVix8Bp58hE6gk=";
  };

  vendorHash = "sha256-5k2NnQ18bL0v7YHTvw2nz5H5n5DQOmozkUhyf97eKl8=";
  proxyVendor = true;

  preBuild = ''
    mkdir -p build/ui
    touch build/ui/index.html
  '';

  doCheck = false;

  ldflags = [ "-s" "-w" "-X" "github.com/defenseunicorns/zarf/src/config.CLIVersion=${src.rev}" "-X" "k8s.io/component-base/version.gitVersion=v0.0.0+zarf${src.rev}" "-X" "k8s.io/component-base/version.gitCommit=${src.rev}" "-X" "k8s.io/component-base/version.buildDate=1970-01-01T00:00:00Z" ];

  meta = with lib; {
    description = "DevSecOps for Air Gap & Limited-Connection Systems. https://zarf.dev";
    homepage = "https://github.com/defenseunicorns/zarf.git";
    license = licenses.asl20;
    maintainers = with maintainers; [ ragingpastry ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -35362,6 +35362,8 @@ with pkgs;
  zammad = callPackage ../applications/networking/misc/zammad { };
  zarf = callPackage ../applications/networking/cluster/zarf { };
  zathuraPkgs = callPackage ../applications/misc/zathura { };
  zathura = zathuraPkgs.zathuraWrapper;