3
0
Fork 0
forked from mirrors/nixpkgs

nomad: extracted from goPackages

This commit is contained in:
Kamil Chmielewski 2016-06-09 11:25:27 +02:00
parent 8cd1d4cda5
commit 1dfae0678d
3 changed files with 26 additions and 9 deletions

View file

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

View file

@ -2611,7 +2611,7 @@ in
noip = callPackage ../tools/networking/noip { };
nomad = goPackages.nomad.bin // { outputs = [ "bin" ]; };
nomad = callPackage ../applications/networking/cluster/nomad { };
milu = callPackage ../applications/misc/milu { };

View file

@ -2260,14 +2260,6 @@ let
sha256 = "143sbpx0jdgf8f8ayv51x6l4jg6cnv6nps6n60qxhx4vd90s6mib";
};
nomad = buildFromGitHub {
rev = "v0.3.2";
owner = "hashicorp";
repo = "nomad";
sha256 = "1m2pdragpzrq0xbmnba039iiyhb16wirj3n1s52z5r8r0mr7drai";
subPackages = [ "." ];
};
ntp = buildFromGitHub {
rev = "0a5264e2563429030eb922f258229ae3fee5b5dc";
owner = "beevik";