forked from mirrors/nixpkgs
fe1a572f8d
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad -h` got 0 exit code - ran `/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad --help` got 0 exit code - ran `/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad -v` and found version 0.7.1 - ran `/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad --version` and found version 0.7.1 - ran `/nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin/bin/nomad version` and found version 0.7.1 - found 0.7.1 with grep in /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin - found 0.7.1 in filename of file in /nix/store/glm49diswdg3qi1vxpffqmdrzmkykvqj-nomad-0.7.1-bin cc "@rushmorem @pradeepchhetri @ehmry @lethalman"
26 lines
668 B
Nix
26 lines
668 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "nomad-${version}";
|
|
version = "0.7.1";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/hashicorp/nomad";
|
|
subPackages = [ "." ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = "nomad";
|
|
inherit rev;
|
|
sha256 = "0hn80dqzxkwvk1zjk6px725mb2i3c06smqfj0yyjz96vgf7qbqy2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|