{ stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "nomad-${version}"; version = "0.6.2"; rev = "v${version}"; goPackagePath = "github.com/hashicorp/nomad"; subPackages = [ "." ]; src = fetchFromGitHub { owner = "hashicorp"; repo = "nomad"; inherit rev; sha256 = "12bxqn7yldri5cwyxybd1lwg4c66mxd7g9syf54va5788c0hj8ij"; }; 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 ]; }; }