about summary refs log tree commit diff
path: root/pkgs/development/tools/deis/default.nix
blob: 5336a14c5a17a8ef6ce4d175b4d765d081097877 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit }:

with goPackages;

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";
  };

  goDeps = ./deps.json;
}