From 1c1a6b39db8a304a3f195a03b42be4a21965d138 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Fri, 18 Sep 2015 16:43:58 +0200 Subject: [PATCH] deis: init at 1.10.0 --- pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/go-packages.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e4a8fb9d46cb..1336a8e705b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -812,6 +812,8 @@ let ddate = callPackage ../tools/misc/ddate { }; + deis = goPackages.deis.bin // { outputs = [ "bin" ]; }; + dfilemanager = callPackage ../applications/misc/dfilemanager { }; diagrams-builder = callPackage ../tools/graphics/diagrams-builder { diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index 6264a6fb4fa5..7c2ea7d966a1 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -490,6 +490,20 @@ let }; }; + deis = buildFromGitHub { + rev = "v1.10.0"; + owner = "deis"; + repo = "deis"; + sha256 = "0qji0dcfqgvjrfn5fjagjib606n24iy9qank2ckh202s75rxx5w9"; + subPackages = [ "client" ]; + buildInputs = [ docopt-go crypto yaml-v2 ]; + postInstall = '' + if [ -f "$bin/bin/client" ]; then + mv "$bin/bin/client" "$bin/bin/deis" + fi + ''; + }; + dns = buildFromGitHub { rev = "e59f851c912767b1db587dcabee6e6652e495c75"; date = "2015-07-22";