parent
03024b39b7
commit
0360e61d88
@ -1,17 +1,24 @@ |
||||
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: |
||||
{ stdenv, buildGoPackage, fetchFromGitHub }: |
||||
|
||||
buildGoPackage rec { |
||||
name = "serf-${version}"; |
||||
version = "20150515-${stdenv.lib.strings.substring 0 7 rev}"; |
||||
rev = "668982d8f90f5eff4a766583c1286393c1d27f68"; |
||||
version = "0.8.1"; |
||||
rev = "v${version}"; |
||||
|
||||
goPackagePath = "github.com/hashicorp/serf"; |
||||
|
||||
src = fetchgit { |
||||
src = fetchFromGitHub { |
||||
owner = "hashicorp"; |
||||
repo = "serf"; |
||||
inherit rev; |
||||
url = "https://github.com/hashicorp/serf"; |
||||
sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk"; |
||||
sha256 = "1arakjvhyasrk52vhxas2ghlrby3i3wj59r7sjrkbpln2cdbqnlx"; |
||||
}; |
||||
|
||||
goDeps = ./deps.nix; |
||||
meta = with stdenv.lib; { |
||||
description = "Tool for service orchestration and management"; |
||||
homepage = "https://www.serf.io/"; |
||||
platforms = platforms.linux ++ platforms.darwin; |
||||
license = licenses.mpl20; |
||||
maintainers = with maintainers; [ pradeepchhetri ]; |
||||
}; |
||||
} |
||||
|
@ -1,137 +0,0 @@ |
||||
[ |
||||
{ |
||||
goPackagePath = "golang.org/x/crypto"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://go.googlesource.com/crypto"; |
||||
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6"; |
||||
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/miekg/dns"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/miekg/dns"; |
||||
rev = "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa"; |
||||
sha256 = "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/armon/go-metrics"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/armon/go-metrics"; |
||||
rev = "b2d95e5291cdbc26997d1301a5e467ecbb240e25"; |
||||
sha256 = "1jvdf98jlbyzbb9w159nifvv8fihrcs66drnl8pilqdjpmkmyyck"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/mattn/go-isatty"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/mattn/go-isatty"; |
||||
rev = "ae0b1f8f8004be68d791a576e3d8e7648ab41449"; |
||||
sha256 = "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/logutils"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/hashicorp/logutils"; |
||||
rev = "0dc08b1671f34c4250ce212759ebd880f743d883"; |
||||
sha256 = "0rynhjwvacv9ibl2k4fwz0xy71d583ac4p33gm20k9yldqnznc7r"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/armon/go-radix"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/armon/go-radix"; |
||||
rev = "fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93"; |
||||
sha256 = "16y64r1v054c2ln0bi5mrqq1cmvy6d6pnxk1glb8lw2g31ksa80c"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/go-syslog"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/hashicorp/go-syslog"; |
||||
rev = "42a2b573b664dbf281bd48c3cc12c086b17a39ba"; |
||||
sha256 = "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/memberlist"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/hashicorp/memberlist"; |
||||
rev = "6025015f2dc659ca2c735112d37e753bda6e329d"; |
||||
sha256 = "01s2gwnbgvwz4wshz9d4za0p12ji4fnapnlmz3jwfcmcwjpyqfb7"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/mitchellh/mapstructure"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/mitchellh/mapstructure"; |
||||
rev = "281073eb9eb092240d33ef253c404f1cca550309"; |
||||
sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/armon/circbuf"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/armon/circbuf"; |
||||
rev = "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"; |
||||
sha256 = "06kwwdwa3hskdh6ws7clj1vim80dyc3ldim8k9y5qpd30x0avn5s"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/mdns"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/hashicorp/mdns"; |
||||
rev = "2b439d37011456df8ff83a70ffd1cd6046410113"; |
||||
sha256 = "17zwk212zmyramnjylpvvrvbbsz0qb5crkhly6yiqkyll3qzpb96"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/mitchellh/cli"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/mitchellh/cli"; |
||||
rev = "8102d0ed5ea2709ade1243798785888175f6e415"; |
||||
sha256 = "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/ryanuber/columnize"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/ryanuber/columnize"; |
||||
rev = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a"; |
||||
sha256 = "1qrqr76cw58x2hkjic6h88na5ihgvkmp8mqapj8kmjcjzdxkzhr9"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/go-msgpack"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/ugorji/go"; |
||||
rev = "03e33114d4d60a1f37150325e15f51b0fa6fc4f6"; |
||||
sha256 = "01kdzgx23cgb4k867m1pvsw14hhdr9jf2frqy6i4j4221055m57v"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/hashicorp/go.net"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/hashicorp/go.net"; |
||||
rev = "104dcad90073cd8d1e6828b2af19185b60cf3e29"; |
||||
sha256 = "0pfi09h4q6w2x833qxr8r609ml4kw1flqm265j752sb08sbf3zwf"; |
||||
}; |
||||
} |
||||
] |
Loading…
Reference in new issue