depot/third_party/nixpkgs/pkgs/development/tools/deisctl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
734 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "deis";
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.unix;
maintainers = with maintainers; [
];
};
}