nixpkgs/pkgs/applications/networking/cluster/nomad/default.nix
2019-01-31 00:37:24 +02:00

26 lines
668 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "nomad-${version}";
version = "0.8.7";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/nomad";
subPackages = [ "." ];
src = fetchFromGitHub {
owner = "hashicorp";
repo = "nomad";
inherit rev;
sha256 = "0nkqiqkrccfmn7qkbhd48m9m56ix4xb0a3ar0z0pl4sbm25rlj0b";
};
meta = with stdenv.lib; {
homepage = https://www.nomadproject.io/;
description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
platforms = platforms.linux;
license = licenses.mpl20;
maintainers = with maintainers; [ rushmorem pradeepchhetri ];
};
}