Merge pull request #228557 from ragingpastry/add-zarf

zarf: init at 0.26.2
This commit is contained in:
Lily Foster 2023-05-10 11:10:30 -04:00 committed by GitHub
commit f4aa6afa5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View file

@ -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";

View file

@ -0,0 +1,35 @@
{ 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 ];
};
}

View file

@ -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;