diff options
author | lassulus <lass@aidsballs.de> | 2015-12-24 11:14:54 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-12-24 11:14:54 +0100 |
commit | d7741ca83f8c3ebe8a283c3231a9bf17bf05d94c (patch) | |
tree | cc4a5ab6e1284d9a32fab80b4ecab6a5834208a0 /krebs/5pkgs/test/infest-cac-centos7/default.nix | |
parent | 57feffb3f65876cca3f10ef82e6e82283c02852d (diff) | |
parent | 6e4351044195f1f3b5708785e760b9d118e2c229 (diff) |
Merge remote-tracking branch 'gum/master'
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 ]; + }; +} |