diff options
author | makefu <github@syntax-fehler.de> | 2015-12-23 11:18:00 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-23 11:18:00 +0100 |
commit | 14ddb767eb10dbe43d3112c4b4674f6c1d4ff32a (patch) | |
tree | 5d406cb11d0b286040e382967be195cab5391bf7 /krebs/5pkgs/test/infest-cac-centos7/default.nix | |
parent | dc8e270d2a5346e4316b7c2050b26fd428ec3fc3 (diff) |
k 5 mv krebs-ci test/infest-cac-centos7
Diffstat (limited to 'krebs/5pkgs/test/infest-cac-centos7/default.nix')
-rw-r--r-- | krebs/5pkgs/test/infest-cac-centos7/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/krebs/5pkgs/test/infest-cac-centos7/default.nix b/krebs/5pkgs/test/infest-cac-centos7/default.nix new file mode 100644 index 000000000..7f2e3f231 --- /dev/null +++ b/krebs/5pkgs/test/infest-cac-centos7/default.nix @@ -0,0 +1,39 @@ +{ stdenv, coreutils,makeWrapper, cac, cacpanel, gnumake, gnused, jq, openssh, ... }: + +stdenv.mkDerivation rec { + name = "${shortname}-${version}"; + shortname = "infest-cac-centos7"; + version = "0.2.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/${shortname} + chmod +x $out/bin/${shortname} + wrapProgram $out/bin/${shortname} \ + --prefix PATH : ${path} + ''; + meta = with stdenv.lib; { + homepage = http://krebsco.de; + description = "Krebs CI Scripts"; + license = licenses.wtfpl; + maintainers = [ maintainers.makefu ]; + }; +} |