Merge pull request #8682 from offlinehacker/pkgs/openshift/add
Add openshift
This commit is contained in:
commit
957390ecba
2 changed files with 33 additions and 0 deletions
31
pkgs/applications/networking/cluster/openshift/default.nix
Normal file
31
pkgs/applications/networking/cluster/openshift/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchgit, go, git, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openshift-origin-${version}";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/openshift/origin.git;
|
||||
rev = "1b601951daa44964c9bc7e4a2264d65489e3a58c";
|
||||
sha256 = "0nwyj3cgajmbd356w0362zxkd3p3pply58an2bmi3d3bswp3k89g";
|
||||
leaveDotGit = true;
|
||||
deepClone = true;
|
||||
};
|
||||
|
||||
buildInputs = [ go git which ];
|
||||
|
||||
buildPhase = "hack/build-go.sh";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
cp _output/local/go/bin/* "$out/bin/"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Build, deploy, and manage your applications with Docker and Kubernetes";
|
||||
license = licenses.asl20;
|
||||
homepage = http://www.openshift.org;
|
||||
maintainers = with maintainers; [offline];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -12094,6 +12094,8 @@ let
|
|||
|
||||
mutt-kz = callPackage ../applications/networking/mailreaders/mutt-kz { };
|
||||
|
||||
openshift = callPackage ../applications/networking/cluster/openshift { };
|
||||
|
||||
panamax_api = callPackage ../applications/networking/cluster/panamax/api {
|
||||
ruby = ruby_2_1;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue