diff options
author | makefu <github@syntax-fehler.de> | 2015-12-22 16:30:23 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-22 16:30:23 +0100 |
commit | e6b1003fe26e340be21a12e6e531259fd698f33f (patch) | |
tree | bcd5f4049124929c083de3b9fbf8f37d475fae26 /krebs/5pkgs/krebs-ci/default.nix | |
parent | 14d1655deb456d6be95463af2ca1524f7a1b7a98 (diff) |
k 5 krebs-ci: initial commit
Diffstat (limited to 'krebs/5pkgs/krebs-ci/default.nix')
-rw-r--r-- | krebs/5pkgs/krebs-ci/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/krebs/5pkgs/krebs-ci/default.nix b/krebs/5pkgs/krebs-ci/default.nix new file mode 100644 index 000000000..f5b302b52 --- /dev/null +++ b/krebs/5pkgs/krebs-ci/default.nix @@ -0,0 +1,37 @@ +{ stdenv, coreutils,makeWrapper, cac, cacpanel, gnumake, gnused, jq, openssh, ... }: + +stdenv.mkDerivation rec { + name = "krebs-ci-0.1.0"; + + src = ./notes; + + phases = [ + "installPhase" + ]; + buildInputs = [ makeWrapper ]; + + path = stdenv.lib.makeSearchPath "bin" [ + coreutils + cac + cacpanel + gnumake + gnused + jq + openssh + ]; + + installPhase = + '' + mkdir -p $out/bin + cp ${src} $out/bin/krebs-ci + chmod +x $out/bin/krebs-ci + wrapProgram $out/bin/krebs-ci \ + --prefix PATH : ${path} + ''; + meta = with stdenv.lib; { + homepage = http://krebsco.de; + description = "Krebs CI Scripts"; + license = licenses.wtfpl; + maintainers = [ maintainers.makefu ]; + }; +} |