nixpkgs/pkgs/development/tools/deis/default.nix

26 lines
518 B
Nix
Raw Normal View History

2016-06-06 06:56:13 +00:00
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
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 06:56:13 +00:00
src = fetchFromGitHub {
inherit rev;
2016-06-06 06:56:13 +00:00
owner = "deis";
repo = "deis";
sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw";
};
2016-04-27 06:45:04 +00:00
goDeps = ./deps.json;
}