deisctl: init at 1.13.3

This commit is contained in:
Jascha Geerds 2016-10-19 09:56:38 +02:00
parent 306a8d9e8c
commit 7bb75fa887
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "deis-${version}";
version = "1.13.3";
rev = "v${version}";
goPackagePath = "github.com/deis/deis";
subPackages = [ "deisctl" ];
src = fetchFromGitHub {
inherit rev;
owner = "deis";
repo = "deis";
sha256 = "15q44jyjms8fdmly0z4sn4ymf1dx6cmdavgixjixdj2wbjw0yi2p";
};
preBuild = ''
export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
'';
meta = with stdenv.lib; {
homepage = https://deis.io;
description = "A command-line utility used to provision and operate a Deis cluster.";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [
jgeerds
];
};
}

View File

@ -774,6 +774,8 @@ in
deis = callPackage ../development/tools/deis {};
deisctl = callPackage ../development/tools/deisctl {};
diagrams-builder = callPackage ../tools/graphics/diagrams-builder {
inherit (haskellPackages) ghcWithPackages diagrams-builder;
};