forked from mirrors/nixpkgs
Merge pull request #228557 from ragingpastry/add-zarf
zarf: init at 0.26.2
This commit is contained in:
commit
f4aa6afa5f
|
@ -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
pkgs/applications/networking/cluster/zarf/default.nix
Normal file
35
pkgs/applications/networking/cluster/zarf/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue