1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/deisctl/default.nix

31 lines
732 B
Nix
Raw Normal View History

2016-10-19 08:56:38 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
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
'';
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;
2016-10-19 08:56:38 +01:00
maintainers = with maintainers; [
];
};
}