2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-10-19 08:56:38 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "deis";
|
2016-10-19 08:56:38 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://deis.io";
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "A command-line utility used to provision and operate a Deis cluster";
|
2016-10-19 08:56:38 +01:00
|
|
|
license = licenses.asl20;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2016-10-19 08:56:38 +01:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|