summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/deisctl
diff options
context:
space:
mode:
authorJascha Geerds <jascha@jgeerds.name>2016-10-19 09:56:38 +0200
committerJascha Geerds <jascha@jgeerds.name>2016-10-19 11:41:54 +0200
commit7bb75fa887a21697a537a6b25eedf53eccc6c8ad (patch)
treee5bfc64fef003993bbdab5b7dec0ea48939435a9 /pkgs/development/tools/deisctl
parent306a8d9e8ca90d7a1fac141cca35dfe19750f9cd (diff)
deisctl: init at 1.13.3
Diffstat (limited to 'pkgs/development/tools/deisctl')
-rw-r--r--pkgs/development/tools/deisctl/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/deisctl/default.nix b/pkgs/development/tools/deisctl/default.nix
new file mode 100644
index 000000000000..3f818ea7be62
--- /dev/null
+++ b/pkgs/development/tools/deisctl/default.nix
@@ -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
+ ];
+ };
+}