2016-06-06 02:28:52 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchgit }:
|
2016-04-21 11:49:33 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "deis-${version}";
|
|
|
|
version = "1.13.0";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/deis/deis";
|
|
|
|
subPackages = [ "client" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
if [ -f "$bin/bin/client" ]; then
|
|
|
|
mv "$bin/bin/client" "$bin/bin/deis"
|
|
|
|
fi
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/deis/deis";
|
|
|
|
sha256 = "1fblg3gf7dh5hhm4ajq7yl7iy6gw8p5xlh4z8kvfy542m1fzr0dc";
|
|
|
|
};
|
|
|
|
|
2016-04-27 08:45:04 +02:00
|
|
|
goDeps = ./deps.json;
|
2016-04-21 11:49:33 +02:00
|
|
|
}
|