2016-06-09 10:25:27 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "nomad-${version}";
|
2018-02-27 16:11:24 +00:00
|
|
|
version = "0.7.1";
|
2016-06-09 10:25:27 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/nomad";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "nomad";
|
|
|
|
inherit rev;
|
2018-02-27 16:11:24 +00:00
|
|
|
sha256 = "0hn80dqzxkwvk1zjk6px725mb2i3c06smqfj0yyjz96vgf7qbqy2";
|
2016-06-09 10:25:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.nomadproject.io/;
|
|
|
|
description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
|
|
|
|
platforms = platforms.linux;
|
2016-06-30 19:22:35 +01:00
|
|
|
license = licenses.mpl20;
|
2017-02-01 03:02:29 +00:00
|
|
|
maintainers = with maintainers; [ rushmorem pradeepchhetri ];
|
2016-06-09 10:25:27 +01:00
|
|
|
};
|
|
|
|
}
|