This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the motivation for standardizing fractal is to reduce boilerplate increase mindshare and lower the effort to contribute for std users. std users will likely become very active users of and contributors to fractal in the near future.
- Loading branch information
Showing
24 changed files
with
308 additions
and
56 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
inputs, | ||
cell, | ||
}: rec { | ||
default = fractal; | ||
fractal = let | ||
inherit | ||
(inputs.nixpkgs) | ||
lib | ||
buildGoModule | ||
makeWrapper | ||
kubernetes-helm | ||
kustomize | ||
; | ||
in | ||
buildGoModule rec { | ||
pname = "fractal"; | ||
version = "1.0.0"; | ||
src = ./fractal; | ||
|
||
buildInputs = [makeWrapper]; | ||
vendorSha256 = "sha256-BIqJ1PRJjIy/Z7ILr4mA6dE9IqBQabQt/YHgSgajRhw="; | ||
|
||
postInstall = '' | ||
mv "$out/bin/app" "$out/bin/fractal" | ||
''; | ||
|
||
postFixup = let | ||
runtimeDeps = [kubernetes-helm kustomize]; | ||
in '' | ||
wrapProgram "$out/bin/fractal" \ | ||
--prefix PATH ":" ${lib.makeBinPath runtimeDeps} | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Nix-based framework for building Kubernetes resources"; | ||
homepage = "https://github.com/ArctarusLimited/Fractal"; | ||
license = licenses.mit; | ||
maintainers = [maintainers.citadelcore]; | ||
}; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.