2016-06-06 08:56:13 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
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
|
|
|
|
'';
|
|
|
|
|
2016-06-06 08:56:13 +02:00
|
|
|
src = fetchFromGitHub {
|
2016-04-21 11:49:33 +02:00
|
|
|
inherit rev;
|
2016-06-06 08:56:13 +02:00
|
|
|
owner = "deis";
|
|
|
|
repo = "deis";
|
|
|
|
sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw";
|
2016-04-21 11:49:33 +02:00
|
|
|
};
|
|
|
|
|
2016-09-10 12:04:13 +02:00
|
|
|
goDeps = ./deps.nix;
|
2016-04-21 11:49:33 +02:00
|
|
|
}
|