lol

Merge pull request #22913 from pradeepchhetri/serf

serf: 20150515 -> 0.8.1

authored by

Joachim F and committed by
GitHub
e6a20759 ecdfffd9

+14 -144
+14 -7
pkgs/servers/serf/default.nix
··· 1 - { stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 name = "serf-${version}"; 5 - version = "20150515-${stdenv.lib.strings.substring 0 7 rev}"; 6 - rev = "668982d8f90f5eff4a766583c1286393c1d27f68"; 5 + version = "0.8.1"; 6 + rev = "v${version}"; 7 7 8 8 goPackagePath = "github.com/hashicorp/serf"; 9 9 10 - src = fetchgit { 10 + src = fetchFromGitHub { 11 + owner = "hashicorp"; 12 + repo = "serf"; 11 13 inherit rev; 12 - url = "https://github.com/hashicorp/serf"; 13 - sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk"; 14 + sha256 = "1arakjvhyasrk52vhxas2ghlrby3i3wj59r7sjrkbpln2cdbqnlx"; 14 15 }; 15 16 16 - goDeps = ./deps.nix; 17 + meta = with stdenv.lib; { 18 + description = "Tool for service orchestration and management"; 19 + homepage = "https://www.serf.io/"; 20 + platforms = platforms.linux ++ platforms.darwin; 21 + license = licenses.mpl20; 22 + maintainers = with maintainers; [ pradeepchhetri ]; 23 + }; 17 24 }
-137
pkgs/servers/serf/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "golang.org/x/crypto"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://go.googlesource.com/crypto"; 7 - rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6"; 8 - sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"; 9 - }; 10 - } 11 - { 12 - goPackagePath = "github.com/miekg/dns"; 13 - fetch = { 14 - type = "git"; 15 - url = "https://github.com/miekg/dns"; 16 - rev = "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa"; 17 - sha256 = "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl"; 18 - }; 19 - } 20 - { 21 - goPackagePath = "github.com/armon/go-metrics"; 22 - fetch = { 23 - type = "git"; 24 - url = "https://github.com/armon/go-metrics"; 25 - rev = "b2d95e5291cdbc26997d1301a5e467ecbb240e25"; 26 - sha256 = "1jvdf98jlbyzbb9w159nifvv8fihrcs66drnl8pilqdjpmkmyyck"; 27 - }; 28 - } 29 - { 30 - goPackagePath = "github.com/mattn/go-isatty"; 31 - fetch = { 32 - type = "git"; 33 - url = "https://github.com/mattn/go-isatty"; 34 - rev = "ae0b1f8f8004be68d791a576e3d8e7648ab41449"; 35 - sha256 = "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj"; 36 - }; 37 - } 38 - { 39 - goPackagePath = "github.com/hashicorp/logutils"; 40 - fetch = { 41 - type = "git"; 42 - url = "https://github.com/hashicorp/logutils"; 43 - rev = "0dc08b1671f34c4250ce212759ebd880f743d883"; 44 - sha256 = "0rynhjwvacv9ibl2k4fwz0xy71d583ac4p33gm20k9yldqnznc7r"; 45 - }; 46 - } 47 - { 48 - goPackagePath = "github.com/armon/go-radix"; 49 - fetch = { 50 - type = "git"; 51 - url = "https://github.com/armon/go-radix"; 52 - rev = "fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93"; 53 - sha256 = "16y64r1v054c2ln0bi5mrqq1cmvy6d6pnxk1glb8lw2g31ksa80c"; 54 - }; 55 - } 56 - { 57 - goPackagePath = "github.com/hashicorp/go-syslog"; 58 - fetch = { 59 - type = "git"; 60 - url = "https://github.com/hashicorp/go-syslog"; 61 - rev = "42a2b573b664dbf281bd48c3cc12c086b17a39ba"; 62 - sha256 = "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3"; 63 - }; 64 - } 65 - { 66 - goPackagePath = "github.com/hashicorp/memberlist"; 67 - fetch = { 68 - type = "git"; 69 - url = "https://github.com/hashicorp/memberlist"; 70 - rev = "6025015f2dc659ca2c735112d37e753bda6e329d"; 71 - sha256 = "01s2gwnbgvwz4wshz9d4za0p12ji4fnapnlmz3jwfcmcwjpyqfb7"; 72 - }; 73 - } 74 - { 75 - goPackagePath = "github.com/mitchellh/mapstructure"; 76 - fetch = { 77 - type = "git"; 78 - url = "https://github.com/mitchellh/mapstructure"; 79 - rev = "281073eb9eb092240d33ef253c404f1cca550309"; 80 - sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"; 81 - }; 82 - } 83 - { 84 - goPackagePath = "github.com/armon/circbuf"; 85 - fetch = { 86 - type = "git"; 87 - url = "https://github.com/armon/circbuf"; 88 - rev = "f092b4f207b6e5cce0569056fba9e1a2735cb6cf"; 89 - sha256 = "06kwwdwa3hskdh6ws7clj1vim80dyc3ldim8k9y5qpd30x0avn5s"; 90 - }; 91 - } 92 - { 93 - goPackagePath = "github.com/hashicorp/mdns"; 94 - fetch = { 95 - type = "git"; 96 - url = "https://github.com/hashicorp/mdns"; 97 - rev = "2b439d37011456df8ff83a70ffd1cd6046410113"; 98 - sha256 = "17zwk212zmyramnjylpvvrvbbsz0qb5crkhly6yiqkyll3qzpb96"; 99 - }; 100 - } 101 - { 102 - goPackagePath = "github.com/mitchellh/cli"; 103 - fetch = { 104 - type = "git"; 105 - url = "https://github.com/mitchellh/cli"; 106 - rev = "8102d0ed5ea2709ade1243798785888175f6e415"; 107 - sha256 = "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2"; 108 - }; 109 - } 110 - { 111 - goPackagePath = "github.com/ryanuber/columnize"; 112 - fetch = { 113 - type = "git"; 114 - url = "https://github.com/ryanuber/columnize"; 115 - rev = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a"; 116 - sha256 = "1qrqr76cw58x2hkjic6h88na5ihgvkmp8mqapj8kmjcjzdxkzhr9"; 117 - }; 118 - } 119 - { 120 - goPackagePath = "github.com/hashicorp/go-msgpack"; 121 - fetch = { 122 - type = "git"; 123 - url = "https://github.com/ugorji/go"; 124 - rev = "03e33114d4d60a1f37150325e15f51b0fa6fc4f6"; 125 - sha256 = "01kdzgx23cgb4k867m1pvsw14hhdr9jf2frqy6i4j4221055m57v"; 126 - }; 127 - } 128 - { 129 - goPackagePath = "github.com/hashicorp/go.net"; 130 - fetch = { 131 - type = "git"; 132 - url = "https://github.com/hashicorp/go.net"; 133 - rev = "104dcad90073cd8d1e6828b2af19185b60cf3e29"; 134 - sha256 = "0pfi09h4q6w2x833qxr8r609ml4kw1flqm265j752sb08sbf3zwf"; 135 - }; 136 - } 137 - ]