diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2015-07-07 11:54:45 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2015-07-08 12:18:06 +0200 |
commit | 4e33dd4e993c1b88a50dbb5f6855c569986cd30c (patch) | |
tree | 0f7038d1ef086bb28fd92ed67eb70cc7a20b8bad /pkgs/applications/networking/cluster/openshift | |
parent | 8f9534ccc3f3c73a8e17a035cfe059830c679251 (diff) |
openshift: init at 1.0.1
Diffstat (limited to 'pkgs/applications/networking/cluster/openshift')
-rw-r--r-- | pkgs/applications/networking/cluster/openshift/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/openshift/default.nix b/pkgs/applications/networking/cluster/openshift/default.nix new file mode 100644 index 000000000000..527ddd99af1e --- /dev/null +++ b/pkgs/applications/networking/cluster/openshift/default.nix @@ -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" ]; + }; +} |