Merge pull request #15426 from zimbatm/packer-0.10.1

packer: 0.8.6 -> 0.10.1

+428 -345
+36 -18
pkgs/development/tools/packer/default.nix
··· 1 - { stdenv, lib, go, gox, fetchgit, fetchhg, fetchbzr, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 - name = "packer-0.8.6"; 5 6 src = import ./deps.nix { 7 - inherit stdenv lib fetchgit fetchhg fetchbzr fetchFromGitHub; 8 }; 9 10 - buildInputs = [ go gox ]; 11 12 - installPhase = '' 13 - export GOPATH=$src 14 - XC_ARCH=$(go env GOARCH) 15 - XC_OS=$(go env GOOS) 16 17 - mkdir -p $out/bin 18 19 - cd $src/src/github.com/mitchellh/packer 20 - gox \ 21 - -os="''${XC_OS}" \ 22 - -arch="''${XC_ARCH}" \ 23 - -output "$out/bin/packer-{{.Dir}}" \ 24 - ./... 25 - mv $out/bin/packer{*packer*,} 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "A tool for creating identical machine images for multiple platforms from a single source configuration"; 30 - homepage = "http://www.packer.io"; 31 license = licenses.mpl20; 32 - maintainers = with maintainers; [ cstrahan ]; 33 platforms = platforms.unix; 34 }; 35 }
··· 1 + { stdenv, lib, go, gox, goPackages, fetchFromGitHub 2 + , fetchgit, fetchhg, fetchbzr, fetchsvn }: 3 4 stdenv.mkDerivation rec { 5 + name = "packer-${version}"; 6 + version = "0.10.1"; 7 8 src = import ./deps.nix { 9 + inherit stdenv lib go gox goPackages fetchgit fetchhg fetchbzr fetchsvn; 10 }; 11 12 + buildInputs = [ go gox goPackages.tools ]; 13 14 + configurePhase = '' 15 + export GOPATH=$PWD/share/go 16 + export XC_ARCH=$(go env GOARCH) 17 + export XC_OS=$(go env GOOS) 18 19 + mkdir $GOPATH/bin 20 21 + cd $GOPATH/src/github.com/mitchellh/packer 22 + 23 + # Don't fetch the deps 24 + substituteInPlace "Makefile" --replace ': deps' ':' 25 + 26 + # Avoid using git 27 + sed \ 28 + -e "s|GITBRANCH:=.*||" \ 29 + -e "s|GITSHA:=.*|GITSHA=${src.rev}|" \ 30 + -i Makefile 31 + sed \ 32 + -e "s|GIT_COMMIT=.*|GIT_COMMIT=${src.rev}|" \ 33 + -e "s|GIT_DIRTY=.*|GIT_DIRTY=|" \ 34 + -i "scripts/build.sh" 35 + ''; 36 + 37 + buildPhase = '' 38 + make generate releasebin 39 + ''; 40 + 41 + installPhase = '' 42 + mkdir -p $out/bin 43 + mv bin/* $out/bin 44 ''; 45 46 meta = with stdenv.lib; { 47 description = "A tool for creating identical machine images for multiple platforms from a single source configuration"; 48 + homepage = http://www.packer.io; 49 license = licenses.mpl20; 50 + maintainers = with maintainers; [ cstrahan zimbatm ]; 51 platforms = platforms.unix; 52 }; 53 }
+392 -327
pkgs/development/tools/packer/deps.nix
··· 1 # This file was generated by go2nix. 2 - { stdenv, lib, fetchFromGitHub, fetchgit, fetchhg, fetchbzr }: 3 4 - let 5 - goDeps = [ 6 { 7 - root = "github.com/mitchellh/packer"; 8 - src = fetchFromGitHub { 9 - owner = "mitchellh"; 10 - repo = "packer"; 11 - rev = "f8f7b7a34c1be06058f5aca23a51247db12cdbc5"; 12 - sha256 = "162ja4klyb3nv44rhdg2gd3xrr4n0l0gi49cn1mr1s2h9yznphyp"; 13 }; 14 } 15 { 16 - root = "github.com/mitchellh/gox"; 17 - src = fetchFromGitHub { 18 - owner = "mitchellh"; 19 - repo = "gox"; 20 - rev = "ef1967b9f538fe467e6a82fc42ec5dff966ad4ea"; 21 - sha256 = "0i9s8fp6m2igx93ffv3rf5v5hz7cwrx7pbxrz4cg94hba3sy3nfj"; 22 }; 23 } 24 { 25 - root = "github.com/mitchellh/iochan"; 26 - src = fetchFromGitHub { 27 - owner = "mitchellh"; 28 - repo = "iochan"; 29 - rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7"; 30 - sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx"; 31 }; 32 } 33 { 34 - root = "github.com/hashicorp/atlas-go"; 35 - src = fetchFromGitHub { 36 - owner = "hashicorp"; 37 - repo = "atlas-go"; 38 - rev = "d1d08e8e25f0659388ede7bb8157aaa4895f5347"; 39 - sha256 = "0bbqh94i8qllp51ln1mmcjy5srny7s4xg0l353kccvk3c7s68m03"; 40 }; 41 } 42 { 43 - root = "github.com/hashicorp/go-checkpoint"; 44 - src = fetchFromGitHub { 45 - owner = "hashicorp"; 46 - repo = "go-checkpoint"; 47 - rev = "88326f6851319068e7b34981032128c0b1a6524d"; 48 - sha256 = "1npasn9lmvx57nw3wkswwvl5k0wmn01jpalbwv832x5wq4r0nsz4"; 49 }; 50 } 51 { 52 - root = "github.com/hashicorp/go-msgpack"; 53 - src = fetchFromGitHub { 54 - owner = "hashicorp"; 55 - repo = "go-msgpack"; 56 - rev = "fa3f63826f7c23912c15263591e65d54d080b458"; 57 - sha256 = "1f6rd6bm2dm2rk46x8cqrxh5nks1gpk6dvvsag7s5pdjgdxy951k"; 58 }; 59 } 60 { 61 - root = "github.com/hashicorp/go-multierror"; 62 - src = fetchFromGitHub { 63 - owner = "hashicorp"; 64 - repo = "go-multierror"; 65 - rev = "56912fb08d85084aa318edcf2bba735b97cf35c5"; 66 - sha256 = "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r"; 67 }; 68 } 69 { 70 - root = "github.com/hashicorp/go-version"; 71 - src = fetchFromGitHub { 72 - owner = "hashicorp"; 73 - repo = "go-version"; 74 - rev = "999359b6b7a041ce16e695d51e92145b83f01087"; 75 - sha256 = "0z2bzphrdkaxh5vnvjh3g25d6cykchshwwbyqgji91mpgjd30pbm"; 76 }; 77 } 78 { 79 - root = "github.com/hashicorp/yamux"; 80 - src = fetchFromGitHub { 81 - owner = "hashicorp"; 82 - repo = "yamux"; 83 - rev = "ae139c4ae7fe21e9d99459d2acc57967cebb6918"; 84 - sha256 = "1p5h2wklj8lb1vnjnd5kw7cshfmiw7jmzw9radln955hzd5xzbnl"; 85 }; 86 } 87 { 88 - root = "github.com/mitchellh/cli"; 89 - src = fetchFromGitHub { 90 - owner = "mitchellh"; 91 - repo = "cli"; 92 - rev = "8102d0ed5ea2709ade1243798785888175f6e415"; 93 - sha256 = "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2"; 94 }; 95 } 96 { 97 - root = "github.com/mitchellh/mapstructure"; 98 - src = fetchFromGitHub { 99 - owner = "mitchellh"; 100 - repo = "mapstructure"; 101 - rev = "281073eb9eb092240d33ef253c404f1cca550309"; 102 - sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"; 103 }; 104 } 105 { 106 - root = "github.com/mitchellh/osext"; 107 - src = fetchFromGitHub { 108 - owner = "mitchellh"; 109 - repo = "osext"; 110 - rev = "0dd3f918b21bec95ace9dc86c7e70266cfc5c702"; 111 - sha256 = "02pczqml6p1mnfdrygm3rs02g0r65qx8v1bi3x24dx8wv9dr5y23"; 112 }; 113 } 114 { 115 - root = "github.com/mitchellh/panicwrap"; 116 - src = fetchFromGitHub { 117 - owner = "mitchellh"; 118 - repo = "panicwrap"; 119 - rev = "45cbfd3bae250c7676c077fb275be1a2968e066a"; 120 - sha256 = "0mbha0nz6zcgp2pny2x03chq1igf9ylpz55xxq8z8g2jl6cxaghn"; 121 }; 122 } 123 { 124 - root = "github.com/mitchellh/prefixedio"; 125 - src = fetchFromGitHub { 126 - owner = "mitchellh"; 127 - repo = "prefixedio"; 128 - rev = "89d9b535996bf0a185f85b59578f2e245f9e1724"; 129 - sha256 = "0lc64rlizb412msd32am2fixkh0536pjv7czvgyw5fskn9kgk3y2"; 130 }; 131 } 132 { 133 - root = "github.com/mitchellh/reflectwalk"; 134 - src = fetchFromGitHub { 135 - owner = "mitchellh"; 136 - repo = "reflectwalk"; 137 - rev = "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"; 138 - sha256 = "1nm2ig7gwlmf04w7dbqd8d7p64z2030fnnfbgnd56nmd7dz8gpxq"; 139 }; 140 } 141 { 142 - root = "github.com/mitchellh/go-fs"; 143 - src = fetchFromGitHub { 144 - owner = "mitchellh"; 145 - repo = "go-fs"; 146 - rev = "a34c1b9334e86165685a9449b782f20465eb8c69"; 147 - sha256 = "11sy85p77ffmavpiichzybrfvjm1ilsi4clx98n3363arksavs5i"; 148 }; 149 } 150 { 151 - root = "github.com/mitchellh/goamz"; 152 - src = fetchFromGitHub { 153 - owner = "mitchellh"; 154 - repo = "goamz"; 155 - rev = "caaaea8b30ee15616494ee68abd5d8ebbbef05cf"; 156 - sha256 = "0bshq69ir9h2nszbr74yvcg5wnd9a5skfmr9bgk014k9wwk7dc72"; 157 }; 158 } 159 { 160 - root = "github.com/mitchellh/multistep"; 161 - src = fetchFromGitHub { 162 - owner = "mitchellh"; 163 - repo = "multistep"; 164 - rev = "162146fc57112954184d90266f4733e900ed05a5"; 165 - sha256 = "0ydhbxziy9204qr43pjdh88y2jg34g2mhzdapjyfpf8a1rin6dn3"; 166 }; 167 } 168 { 169 - root = "github.com/ActiveState/tail"; 170 - src = fetchFromGitHub { 171 - owner = "ActiveState"; 172 - repo = "tail"; 173 - rev = "4b368d1590196ade29993d6a0896591403180bbd"; 174 - sha256 = "183y44skn75lkpsjd3zlbx8vc3b930p3nkpc1ybq3k50s4bzhsll"; 175 }; 176 } 177 { 178 - root = "google.golang.org/api"; 179 src = fetchgit { 180 - url = "https://github.com/google/google-api-go-client.git"; 181 - rev = "a5c3e2a4792aff40e59840d9ecdff0542a202a80"; 182 - sha256 = "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8"; 183 }; 184 } 185 { 186 - root = "golang.org/x/crypto"; 187 src = fetchgit { 188 - url = "https://go.googlesource.com/crypto.git"; 189 - rev = "81bf7719a6b7ce9b665598222362b50122dfc13b"; 190 - sha256 = "0rwzc2ls842d0g588b5xik59srwzawch3nb1dlcqwm4a1132mvmr"; 191 }; 192 } 193 { 194 - root = "golang.org/x/oauth2"; 195 src = fetchgit { 196 - url = "https://go.googlesource.com/oauth2.git"; 197 - rev = "397fe7649477ff2e8ced8fc0b2696f781e53745a"; 198 - sha256 = "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8"; 199 }; 200 } 201 { 202 - root = "golang.org/x/net"; 203 src = fetchgit { 204 - url = "https://go.googlesource.com/net.git"; 205 - rev = "7654728e381988afd88e58cabfd6363a5ea91810"; 206 - sha256 = "08i6kkzbckbc5k15bdlqkbird48zmc24qr505hlxlb11djjgdiml"; 207 }; 208 } 209 { 210 - root = "google.golang.org/appengine"; 211 src = fetchgit { 212 - url = "https://github.com/golang/appengine.git"; 213 - rev = "cdd515334b113fdc9b35cb1e7a3b457eeb5ad5cf"; 214 - sha256 = "0l0rddpfbddbi8kizg2n25w7bdhf99f0iz7ghwz7fq6k4rmq44ws"; 215 }; 216 } 217 { 218 - root = "google.golang.org/cloud"; 219 src = fetchgit { 220 - url = "https://github.com/GoogleCloudPlatform/gcloud-golang.git"; 221 - rev = "e34a32f9b0ecbc0784865fb2d47f3818c09521d4"; 222 - sha256 = "1rzac44kzhd7r6abdy5qyj69y64wy9r73vnxsdalfr5m0i55fqk4"; 223 }; 224 } 225 { 226 - root = "github.com/golang/protobuf"; 227 - src = fetchFromGitHub { 228 - owner = "golang"; 229 - repo = "protobuf"; 230 - rev = "59b73b37c1e45995477aae817e4a653c89a858db"; 231 - sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa"; 232 }; 233 } 234 { 235 - root = "github.com/mitchellh/gophercloud-fork-40444fb"; 236 - src = fetchFromGitHub { 237 - owner = "mitchellh"; 238 - repo = "gophercloud-fork-40444fb"; 239 - rev = "40444fbc2b10960682b34e6822eb9179216e1ae1"; 240 - sha256 = "06bm7hfi03c75npzy51wbl9qyln35c3kzj9yn2w4fhn0k9dia9s3"; 241 }; 242 } 243 { 244 - root = "github.com/racker/perigee"; 245 - src = fetchFromGitHub { 246 - owner = "racker"; 247 - repo = "perigee"; 248 - rev = "44a7879d89b7040bcdb51164a83292ef5bf9deec"; 249 - sha256 = "04wscffagpbcfjs6br96n46aqy43cq6ndq16nlpvank0m98jaax0"; 250 }; 251 } 252 { 253 - root = "github.com/going/toolkit"; 254 - src = fetchFromGitHub { 255 - owner = "going"; 256 - repo = "toolkit"; 257 - rev = "5bff591dc40da25dcc875d3fa1a3373d74d45411"; 258 - sha256 = "15gnlqignm7xcp2chrz7d7qqlibkbfrrsvbcysk8lrj9l7md8vjf"; 259 }; 260 } 261 { 262 - root = "github.com/mitchellh/go-vnc"; 263 - src = fetchFromGitHub { 264 - owner = "mitchellh"; 265 - repo = "go-vnc"; 266 - rev = "723ed9867aed0f3209a81151e52ddc61681f0b01"; 267 - sha256 = "0nlya2rbmwb3jycqsyah1pn4386712mfrfiprprkbzcna9q7lp1h"; 268 }; 269 } 270 { 271 - root = "github.com/howeyc/fsnotify"; 272 - src = fetchFromGitHub { 273 - owner = "howeyc"; 274 - repo = "fsnotify"; 275 - rev = "4894fe7efedeeef21891033e1cce3b23b9af7ad2"; 276 - sha256 = "09r3h200nbw8a4d3rn9wxxmgma2a8i6ssaplf3zbdc2ykizsq7mn"; 277 }; 278 } 279 { 280 - root = "gopkg.in/tomb.v1"; 281 src = fetchgit { 282 - url = "https://gopkg.in/tomb.v1.git"; 283 - rev = "dd632973f1e7218eb1089048e0798ec9ae7dceb8"; 284 - sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"; 285 }; 286 } 287 { 288 - root = "github.com/vaughan0/go-ini"; 289 - src = fetchFromGitHub { 290 - owner = "vaughan0"; 291 - repo = "go-ini"; 292 - rev = "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"; 293 - sha256 = "1l1isi3czis009d9k5awsj4xdxgbxn4n9yqjc1ac7f724x6jacfa"; 294 }; 295 } 296 { 297 - root = "github.com/aws/aws-sdk-go"; 298 - src = fetchFromGitHub { 299 - owner = "aws"; 300 - repo = "aws-sdk-go"; 301 - rev = "f096b7d61df3d7d6d97f0e701f92616d1ea5420d"; 302 - sha256 = "0z2fknqxdyb5vw4am46cn60m15p9fjsqzpzaj2pamp436l0cpjkw"; 303 }; 304 } 305 { 306 - root = "github.com/digitalocean/godo"; 307 - src = fetchFromGitHub { 308 - owner = "digitalocean"; 309 - repo = "godo"; 310 - rev = "2a0d64a42bb60a95677748a4d5729af6184330b4"; 311 - sha256 = "0854577b08fw9bjflk044ph16p15agxhh6xbzn71rhfvxg5yg5mi"; 312 }; 313 } 314 { 315 - root = "github.com/dylanmei/winrmtest"; 316 - src = fetchFromGitHub { 317 - owner = "dylanmei"; 318 - repo = "winrmtest"; 319 - rev = "025617847eb2cf9bd1d851bc3b22ed28e6245ce5"; 320 - sha256 = "1i0wq6r1vm3nhnia3ycm5l590gyia7cwh6971ppnn4rrdmvsw2qh"; 321 }; 322 } 323 { 324 - root = "github.com/klauspost/pgzip"; 325 - src = fetchFromGitHub { 326 - owner = "klauspost"; 327 - repo = "pgzip"; 328 - rev = "47f36e165cecae5382ecf1ec28ebf7d4679e307d"; 329 - sha256 = "1bfka02xrhp4fg9pz2v4ppxa46b59bwy5n88c7hbbxqxm8z30yca"; 330 }; 331 } 332 { 333 - root = "github.com/masterzen/winrm"; 334 - src = fetchFromGitHub { 335 - owner = "masterzen"; 336 - repo = "winrm"; 337 - rev = "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"; 338 - sha256 = "0qzdmsjgcf5n0jzjf4gd22lhqwn9yagynk1izjz3978gr025p2zm"; 339 }; 340 } 341 { 342 - root = "github.com/google/go-querystring"; 343 - src = fetchFromGitHub { 344 - owner = "google"; 345 - repo = "go-querystring"; 346 - rev = "2a60fc2ba6c19de80291203597d752e9ba58e4c0"; 347 - sha256 = "0raf6r3dd8rxxppzrbhp1y6k5csgfkfs7b0jylj65sbg0hbzxvbr"; 348 }; 349 } 350 { 351 - root = "github.com/go-ini/ini"; 352 - src = fetchFromGitHub { 353 - owner = "go-ini"; 354 - repo = "ini"; 355 - rev = "afbd495e5aaea13597b5e14fe514ddeaa4d76fc3"; 356 - sha256 = "0xi8zr9qw38sdbv95c2ip31yczbm4axdvmj3ljyivn9xh2nbxfia"; 357 }; 358 } 359 { 360 - root = "github.com/klauspost/compress"; 361 - src = fetchFromGitHub { 362 - owner = "klauspost"; 363 - repo = "compress"; 364 - rev = "112706bf3743c241303219f9c5ce2e6635f69221"; 365 - sha256 = "1gyf5hf8wivbx6s99x2rxq2a335b49av2xb43nikgbzm4qn7win7"; 366 }; 367 } 368 { 369 - root = "github.com/masterzen/simplexml"; 370 - src = fetchFromGitHub { 371 - owner = "masterzen"; 372 - repo = "simplexml"; 373 - rev = "95ba30457eb1121fa27753627c774c7cd4e90083"; 374 - sha256 = "0pwsis1f5n4is0nmn6dnggymj32mldhbvihv8ikn3nglgxclz4kz"; 375 }; 376 } 377 { 378 - root = "github.com/masterzen/xmlpath"; 379 - src = fetchFromGitHub { 380 - owner = "masterzen"; 381 - repo = "xmlpath"; 382 - rev = "13f4951698adc0fa9c1dda3e275d489a24201161"; 383 - sha256 = "1y81h7ymk3dp3w3a2iy6qd1dkm323rkxa27dzxw8vwy888j5z8bk"; 384 }; 385 } 386 { 387 - root = "github.com/jmespath/go-jmespath"; 388 - src = fetchFromGitHub { 389 - owner = "jmespath"; 390 - repo = "go-jmespath"; 391 - rev = "c01cf91b011868172fdcd9f41838e80c9d716264"; 392 - sha256 = "0gfrqwl648qngp77g8m1g9g7difggq2cac4ydjw9bpx4bd7mw1rw"; 393 }; 394 } 395 { 396 - root = "github.com/klauspost/cpuid"; 397 - src = fetchFromGitHub { 398 - owner = "klauspost"; 399 - repo = "cpuid"; 400 - rev = "349c675778172472f5e8f3a3e0fe187e302e5a10"; 401 - sha256 = "1s8baj42k66ny77qkm3n06kwayk4srwf4b9ss42612f3h86ka5i2"; 402 - }; 403 - } 404 - { 405 - root = "github.com/nu7hatch/gouuid"; 406 - src = fetchFromGitHub { 407 - owner = "nu7hatch"; 408 - repo = "gouuid"; 409 rev = "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"; 410 - sha256 = "1isyfix5w1wm26y3a15ha3nnpsxqaxz5ngq06hnh6c6y0inl2fwj"; 411 }; 412 } 413 { 414 - root = "github.com/klauspost/crc32"; 415 - src = fetchFromGitHub { 416 - owner = "klauspost"; 417 - repo = "crc32"; 418 - rev = "999f3125931f6557b991b2f8472172bdfa578d38"; 419 - sha256 = "00ws3hrszxdnyj0cjk9b8b44xc8x5hizm0h22x6m3bb4c5b487wv"; 420 }; 421 } 422 { 423 - root = "github.com/pierrec/lz4"; 424 - src = fetchFromGitHub { 425 - owner = "pierrec"; 426 - repo = "lz4"; 427 rev = "383c0d87b5dd7c090d3cddefe6ff0c2ffbb88470"; 428 sha256 = "0l23bmzqfvgh61zlikj6iakg0kz7lybs8zf0nscylskl2hlr09rp"; 429 }; 430 } 431 { 432 - root = "github.com/packer-community/winrmcp"; 433 - src = fetchFromGitHub { 434 - owner = "packer-community"; 435 - repo = "winrmcp"; 436 - rev = "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97"; 437 - sha256 = "0g2rwwhykm1z099gwkg1nmb1ggnizqlm2pbmy3qsdvjnl5246ca4"; 438 }; 439 } 440 { 441 - root = "github.com/dylanmei/iso8601"; 442 - src = fetchFromGitHub { 443 - owner = "dylanmei"; 444 - repo = "iso8601"; 445 - rev = "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"; 446 - sha256 = "0px5aq4w96yyjii586h3049xm7rvw5r8w7ph3axhyismrqddqgx1"; 447 }; 448 } 449 { 450 - root = "github.com/pierrec/xxHash"; 451 - src = fetchFromGitHub { 452 - owner = "pierrec"; 453 - repo = "xxHash"; 454 - rev = "5a004441f897722c627870a981d02b29924215fa"; 455 - sha256 = "146ibrgvgh61jhbbv9wks0mabkci3s0m68sg6shmlv1yixkw6gja"; 456 }; 457 } 458 { 459 - root = "github.com/satori/go.uuid"; 460 - src = fetchFromGitHub { 461 - owner = "satori"; 462 - repo = "go.uuid"; 463 rev = "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"; 464 sha256 = "0lw8k39s7hab737rn4nngpbsganrniiv7px6g41l6f6vci1skyn2"; 465 }; 466 } 467 { 468 - root = "github.com/rackspace/gophercloud"; 469 - src = fetchFromGitHub { 470 - owner = "rackspace"; 471 - repo = "gophercloud"; 472 - rev = "680aa02616313d8399abc91f17a444cf9292f0e1"; 473 - sha256 = "0pxzvhh6l1gfn31k6g8fz3x4b6mz88cx2rgpims0ys5cl212zrp1"; 474 }; 475 } 476 { 477 - root = "gopkg.in/fsnotify.v0"; 478 - src = fetchFromGitHub { 479 - owner = "go-fsnotify"; 480 - repo = "fsnotify"; 481 - rev = "ea925a0a47d225b2ca7f9932b01d2ed4f3ec74f6"; 482 - sha256 = "15wqjpkfzsxnaxbz6y4r91hw6812g3sc4ipagxw1bya9klbnkdc9"; 483 }; 484 } 485 { 486 - root = "github.com/tent/http-link-go"; 487 - src = fetchFromGitHub { 488 - owner = "tent"; 489 - repo = "http-link-go"; 490 - rev = "ac974c61c2f990f4115b119354b5e0b47550e888"; 491 - sha256 = "1fph21b6vp4cm73fkkykffggi57m656x9fd1k369fr6jbvq5fffj"; 492 }; 493 } 494 - ]; 495 496 - in 497 498 - stdenv.mkDerivation rec { 499 - name = "go-deps"; 500 501 - buildCommand = 502 - lib.concatStrings 503 - (map (dep: '' 504 - mkdir -p $out/src/`dirname ${dep.root}` 505 - ln -s ${dep.src} $out/src/${dep.root} 506 - '') goDeps); 507 }
··· 1 # This file was generated by go2nix. 2 + { stdenv, lib, go, gox, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }: 3 + 4 + with goPackages; 5 + 6 + buildGoPackage rec { 7 + name = "packer-${version}"; 8 + version = "20160507-${stdenv.lib.strings.substring 0 7 rev}"; 9 + rev = "4e5f65131b5491ab44ff8aa0626abe4a85597ac0"; 10 + 11 + buildInputs = [ go gox goPackages.tools ]; 12 + 13 + goPackagePath = "github.com/mitchellh/packer"; 14 + 15 + src = fetchgit { 16 + inherit rev; 17 + url = "https://github.com/mitchellh/packer"; 18 + sha256 = "1a61f022h4ygnkp1lyr7vhq5w32a3f061dymgkqmz4c3b8fzcc10"; 19 + }; 20 21 + extraSrcs = [ 22 { 23 + goPackagePath = "github.com/ActiveState/tail"; 24 + 25 + src = fetchgit { 26 + url = "https://github.com/ActiveState/tail"; 27 + rev = "1a0242e795eeefe54261ff308dc685f7d29cc58c"; 28 + sha256 = "0hhr2962xmbqzbf2p79xfrzbmjm33h61fj5zlazj7a55bwxn688d"; 29 }; 30 } 31 { 32 + goPackagePath = "github.com/Azure/azure-sdk-for-go"; 33 + 34 + src = fetchgit { 35 + url = "https://github.com/Azure/azure-sdk-for-go"; 36 + rev = "a1883f7b98346e4908a6c25230c95a8a3026a10c"; 37 + sha256 = "0pxqi0b8qwcc687si3zh6w1d594rxd6kn2wzx23clbp2nc5w3wf4"; 38 }; 39 } 40 { 41 + goPackagePath = "github.com/Azure/go-autorest"; 42 + 43 + src = fetchgit { 44 + url = "https://github.com/Azure/go-autorest"; 45 + rev = "b01ec2b60f95678fa759f796bac3c6b9bceaead4"; 46 + sha256 = "1vqwy4m26ps5lmp066zgiz04s7r2dwa832zjlfmpgha7id16pa0c"; 47 }; 48 } 49 { 50 + goPackagePath = "github.com/Azure/go-ntlmssp"; 51 + 52 + src = fetchgit { 53 + url = "https://github.com/Azure/go-ntlmssp"; 54 + rev = "e0b63eb299a769ea4b04dadfe530f6074b277afb"; 55 + sha256 = "19bn9ds12cyf8y3w5brnxwg8lwdkg16ww9hmnq14y2kmli42l14m"; 56 }; 57 } 58 { 59 + goPackagePath = "github.com/armon/go-radix"; 60 + 61 + src = fetchgit { 62 + url = "https://github.com/armon/go-radix"; 63 + rev = "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"; 64 + sha256 = "0md8li1gv4ji4vr63cfa2bcmslba94dzw6awzn5ndnpmdb7np6vh"; 65 }; 66 } 67 { 68 + goPackagePath = "github.com/aws/aws-sdk-go"; 69 + 70 + src = fetchgit { 71 + url = "https://github.com/aws/aws-sdk-go"; 72 + rev = "8041be5461786460d86b4358305fbdf32d37cfb2"; 73 + sha256 = "06ilyl1z5mn6i0afd8ila4lr2vwqdgq5zby8v4v2g3dd39qi6jq2"; 74 }; 75 } 76 { 77 + goPackagePath = "github.com/bgentry/speakeasy"; 78 + 79 + src = fetchgit { 80 + url = "https://github.com/bgentry/speakeasy"; 81 + rev = "36e9cfdd690967f4f690c6edcc9ffacd006014a0"; 82 + sha256 = "0grr82p10dk51l082xaqkpq3izj5bhby3l15gj866kngybfb4nzr"; 83 }; 84 } 85 { 86 + goPackagePath = "github.com/dgrijalva/jwt-go"; 87 + 88 + src = fetchgit { 89 + url = "https://github.com/dgrijalva/jwt-go"; 90 + rev = "f2193411bd642f7db03249fd79d5292c9b34916a"; 91 + sha256 = "0nkzn8i5f7x3wyi7mhhj9vpdbkdjvrb9hhrw0fqy6vcghia6dhrj"; 92 }; 93 } 94 { 95 + goPackagePath = "github.com/digitalocean/godo"; 96 + 97 + src = fetchgit { 98 + url = "https://github.com/digitalocean/godo"; 99 + rev = "6ca5b770f203b82a0fca68d0941736458efa8a4f"; 100 + sha256 = "00di15gdv47jfdr1l8cqphmlv5bzalxk7dk53g3mif7vwhs8749j"; 101 }; 102 } 103 { 104 + goPackagePath = "github.com/dylanmei/iso8601"; 105 + 106 + src = fetchgit { 107 + url = "https://github.com/dylanmei/iso8601"; 108 + rev = "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4"; 109 + sha256 = "0px5aq4w96yyjii586h3049xm7rvw5r8w7ph3axhyismrqddqgx1"; 110 }; 111 } 112 { 113 + goPackagePath = "github.com/dylanmei/winrmtest"; 114 + 115 + src = fetchgit { 116 + url = "https://github.com/dylanmei/winrmtest"; 117 + rev = "025617847eb2cf9bd1d851bc3b22ed28e6245ce5"; 118 + sha256 = "1i0wq6r1vm3nhnia3ycm5l590gyia7cwh6971ppnn4rrdmvsw2qh"; 119 }; 120 } 121 { 122 + goPackagePath = "github.com/go-ini/ini"; 123 + 124 + src = fetchgit { 125 + url = "https://github.com/go-ini/ini"; 126 + rev = "afbd495e5aaea13597b5e14fe514ddeaa4d76fc3"; 127 + sha256 = "0dl5ibrrq2i887i0bf8a9m887rhnpgv6wmwyc1sj8a75c0yd02da"; 128 }; 129 } 130 { 131 + goPackagePath = "github.com/google/go-querystring"; 132 + 133 + src = fetchgit { 134 + url = "https://github.com/google/go-querystring"; 135 + rev = "2a60fc2ba6c19de80291203597d752e9ba58e4c0"; 136 + sha256 = "117211606pv0p3p4cblpnirrrassprrvvcq2svwpplsq5vff1rka"; 137 }; 138 } 139 { 140 + goPackagePath = "github.com/hashicorp/atlas-go"; 141 + 142 + src = fetchgit { 143 + url = "https://github.com/hashicorp/atlas-go"; 144 + rev = "95fa852edca41c06c4ce526af4bb7dec4eaad434"; 145 + sha256 = "002lpvxi6my8dk4d4ks091ad66bj6rnz4xchbzpqwvp7n8097aqz"; 146 }; 147 } 148 { 149 + goPackagePath = "github.com/hashicorp/errwrap"; 150 + 151 + src = fetchgit { 152 + url = "https://github.com/hashicorp/errwrap"; 153 + rev = "7554cd9344cec97297fa6649b055a8c98c2a1e55"; 154 + sha256 = "0kmv0p605di6jc8i1778qzass18m0mv9ks9vxxrfsiwcp4la82jf"; 155 }; 156 } 157 { 158 + goPackagePath = "github.com/hashicorp/go-checkpoint"; 159 + 160 + src = fetchgit { 161 + url = "https://github.com/hashicorp/go-checkpoint"; 162 + rev = "e4b2dc34c0f698ee04750bf2035d8b9384233e1b"; 163 + sha256 = "0qjfk1fh5zmn04yzxn98zam8j4ay5mzd5kryazqj01hh7szd0sh5"; 164 }; 165 } 166 { 167 + goPackagePath = "github.com/hashicorp/go-cleanhttp"; 168 + 169 + src = fetchgit { 170 + url = "https://github.com/hashicorp/go-cleanhttp"; 171 + rev = "875fb671b3ddc66f8e2f0acc33829c8cb989a38d"; 172 + sha256 = "0ammv6gn9cmh6padaaw76wa6xvg22a9b3sw078v9chcvfk2bggha"; 173 }; 174 } 175 { 176 + goPackagePath = "github.com/hashicorp/go-multierror"; 177 + 178 + src = fetchgit { 179 + url = "https://github.com/hashicorp/go-multierror"; 180 + rev = "d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5"; 181 + sha256 = "0dc02mvv11hvanh12nhw8jsislnxf6i4gkh6vcil0x23kj00z3iz"; 182 }; 183 } 184 { 185 + goPackagePath = "github.com/hashicorp/go-rootcerts"; 186 + 187 + src = fetchgit { 188 + url = "https://github.com/hashicorp/go-rootcerts"; 189 + rev = "6bb64b370b90e7ef1fa532be9e591a81c3493e00"; 190 + sha256 = "1a81fcm1i0ji2iva0dcimiichgwpbcb7lx0vyaks87zj5wf04qy9"; 191 }; 192 } 193 { 194 + goPackagePath = "github.com/hashicorp/go-version"; 195 + 196 src = fetchgit { 197 + url = "https://github.com/hashicorp/go-version"; 198 + rev = "7e3c02b30806fa5779d3bdfc152ce4c6f40e7b38"; 199 + sha256 = "0ibqaq6z02himzci4krbfhqdi8fw2gzj9a8z375nl3qbzdgzqnm7"; 200 }; 201 } 202 { 203 + goPackagePath = "github.com/hashicorp/yamux"; 204 + 205 src = fetchgit { 206 + url = "https://github.com/hashicorp/yamux"; 207 + rev = "df949784da9ed028ee76df44652e42d37a09d7e4"; 208 + sha256 = "080bmbdaq88ri2pn63mcjc4kq2y2sy1742ypqfgrvwssa1ynvnhy"; 209 }; 210 } 211 { 212 + goPackagePath = "github.com/hpcloud/tail"; 213 + 214 src = fetchgit { 215 + url = "https://github.com/hpcloud/tail"; 216 + rev = "1a0242e795eeefe54261ff308dc685f7d29cc58c"; 217 + sha256 = "0hhr2962xmbqzbf2p79xfrzbmjm33h61fj5zlazj7a55bwxn688d"; 218 }; 219 } 220 { 221 + goPackagePath = "github.com/jmespath/go-jmespath"; 222 + 223 src = fetchgit { 224 + url = "https://github.com/jmespath/go-jmespath"; 225 + rev = "c01cf91b011868172fdcd9f41838e80c9d716264"; 226 + sha256 = "0lp2m33a6x2pjbv5xlbbcr48qri32s84hcgm3xmgvmrx6zyi74zg"; 227 }; 228 } 229 { 230 + goPackagePath = "github.com/kardianos/osext"; 231 + 232 src = fetchgit { 233 + url = "https://github.com/kardianos/osext"; 234 + rev = "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc"; 235 + sha256 = "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a"; 236 }; 237 } 238 { 239 + goPackagePath = "github.com/klauspost/compress"; 240 + 241 src = fetchgit { 242 + url = "https://github.com/klauspost/compress"; 243 + rev = "f86d2e6d8a77c6a2c4e42a87ded21c6422f7557e"; 244 + sha256 = "17f9zxrs2k8q5kghppjnbn0xzl3i4fgl4852kj8cg94b51s5ll9f"; 245 }; 246 } 247 { 248 + goPackagePath = "github.com/klauspost/cpuid"; 249 + 250 + src = fetchgit { 251 + url = "https://github.com/klauspost/cpuid"; 252 + rev = "349c675778172472f5e8f3a3e0fe187e302e5a10"; 253 + sha256 = "1y7gqpcpcb29ws77328vfm30s8nsrbxyylfpb8ksb8wwg062yv6v"; 254 }; 255 } 256 { 257 + goPackagePath = "github.com/klauspost/crc32"; 258 + 259 + src = fetchgit { 260 + url = "https://github.com/klauspost/crc32"; 261 + rev = "999f3125931f6557b991b2f8472172bdfa578d38"; 262 + sha256 = "1sxnq3i7wvcdqx0l91jc04nf5584ym8dxzkz3xvivm8p7kz2xjns"; 263 }; 264 } 265 { 266 + goPackagePath = "github.com/klauspost/pgzip"; 267 + 268 + src = fetchgit { 269 + url = "https://github.com/klauspost/pgzip"; 270 + rev = "47f36e165cecae5382ecf1ec28ebf7d4679e307d"; 271 + sha256 = "00jcx3pdwxi4r2l3m4b8jb17b2srckz488cmjvd1vqkr85a0jp2x"; 272 }; 273 } 274 { 275 + goPackagePath = "github.com/kr/fs"; 276 + 277 + src = fetchgit { 278 + url = "https://github.com/kr/fs"; 279 + rev = "2788f0dbd16903de03cb8186e5c7d97b69ad387b"; 280 + sha256 = "1c0fipl4rsh0v5liq1ska1dl83v3llab4k6lm8mvrx9c4dyp71ly"; 281 }; 282 } 283 { 284 + goPackagePath = "github.com/masterzen/simplexml"; 285 + 286 + src = fetchgit { 287 + url = "https://github.com/masterzen/simplexml"; 288 + rev = "95ba30457eb1121fa27753627c774c7cd4e90083"; 289 + sha256 = "0pwsis1f5n4is0nmn6dnggymj32mldhbvihv8ikn3nglgxclz4kz"; 290 }; 291 } 292 { 293 + goPackagePath = "github.com/masterzen/winrm"; 294 + 295 + src = fetchgit { 296 + url = "https://github.com/masterzen/winrm"; 297 + rev = "54ea5d01478cfc2afccec1504bd0dfcd8c260cfa"; 298 + sha256 = "1d4khg7c4vw645id0x301zkgidm4ah6nkmiq52j8wsivi85yhn66"; 299 }; 300 } 301 { 302 + goPackagePath = "github.com/masterzen/xmlpath"; 303 + 304 src = fetchgit { 305 + url = "https://github.com/masterzen/xmlpath"; 306 + rev = "13f4951698adc0fa9c1dda3e275d489a24201161"; 307 + sha256 = "1y81h7ymk3dp3w3a2iy6qd1dkm323rkxa27dzxw8vwy888j5z8bk"; 308 }; 309 } 310 { 311 + goPackagePath = "github.com/mattn/go-isatty"; 312 + 313 + src = fetchgit { 314 + url = "https://github.com/mattn/go-isatty"; 315 + rev = "56b76bdf51f7708750eac80fa38b952bb9f32639"; 316 + sha256 = "0l8lcp8gcqgy0g1cd89r8vk96nami6sp9cnkx60ms1dn6cqwf5n3"; 317 }; 318 } 319 { 320 + goPackagePath = "github.com/mitchellh/cli"; 321 + 322 + src = fetchgit { 323 + url = "https://github.com/mitchellh/cli"; 324 + rev = "5c87c51cedf76a1737bf5ca3979e8644871598a6"; 325 + sha256 = "1ajxzh3winjnmqhd4yn6b6f155vfzi0dszhzl4a00zb5pdppp1rd"; 326 }; 327 } 328 { 329 + goPackagePath = "github.com/mitchellh/go-fs"; 330 + 331 + src = fetchgit { 332 + url = "https://github.com/mitchellh/go-fs"; 333 + rev = "a34c1b9334e86165685a9449b782f20465eb8c69"; 334 + sha256 = "11sy85p77ffmavpiichzybrfvjm1ilsi4clx98n3363arksavs5i"; 335 }; 336 } 337 { 338 + goPackagePath = "github.com/mitchellh/go-homedir"; 339 + 340 + src = fetchgit { 341 + url = "https://github.com/mitchellh/go-homedir"; 342 + rev = "d682a8f0cf139663a984ff12528da460ca963de9"; 343 + sha256 = "0vsiby9fbkaz7q067wmc6s5pzgpq4gdfx66cj2a1lbdarf7j1kbs"; 344 }; 345 } 346 { 347 + goPackagePath = "github.com/mitchellh/go-vnc"; 348 + 349 + src = fetchgit { 350 + url = "https://github.com/mitchellh/go-vnc"; 351 + rev = "723ed9867aed0f3209a81151e52ddc61681f0b01"; 352 + sha256 = "0nlya2rbmwb3jycqsyah1pn4386712mfrfiprprkbzcna9q7lp1h"; 353 }; 354 } 355 { 356 + goPackagePath = "github.com/mitchellh/iochan"; 357 + 358 + src = fetchgit { 359 + url = "https://github.com/mitchellh/iochan"; 360 + rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7"; 361 + sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx"; 362 }; 363 } 364 { 365 + goPackagePath = "github.com/mitchellh/mapstructure"; 366 + 367 + src = fetchgit { 368 + url = "https://github.com/mitchellh/mapstructure"; 369 + rev = "281073eb9eb092240d33ef253c404f1cca550309"; 370 + sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"; 371 }; 372 } 373 { 374 + goPackagePath = "github.com/mitchellh/multistep"; 375 + 376 + src = fetchgit { 377 + url = "https://github.com/mitchellh/multistep"; 378 + rev = "162146fc57112954184d90266f4733e900ed05a5"; 379 + sha256 = "0ydhbxziy9204qr43pjdh88y2jg34g2mhzdapjyfpf8a1rin6dn3"; 380 }; 381 } 382 { 383 + goPackagePath = "github.com/mitchellh/packer"; 384 + 385 + src = fetchgit { 386 + url = "https://github.com/mitchellh/packer"; 387 + rev = "4e5f65131b5491ab44ff8aa0626abe4a85597ac0"; 388 + sha256 = "1a61f022h4ygnkp1lyr7vhq5w32a3f061dymgkqmz4c3b8fzcc10"; 389 }; 390 } 391 { 392 + goPackagePath = "github.com/mitchellh/panicwrap"; 393 + 394 + src = fetchgit { 395 + url = "https://github.com/mitchellh/panicwrap"; 396 + rev = "a1e50bc201f387747a45ffff020f1af2d8759e88"; 397 + sha256 = "0w5y21psgrl1afsap613c3qw84ik7zhnalnv3bf6r51hyv187y69"; 398 }; 399 } 400 { 401 + goPackagePath = "github.com/mitchellh/prefixedio"; 402 + 403 + src = fetchgit { 404 + url = "https://github.com/mitchellh/prefixedio"; 405 + rev = "6e6954073784f7ee67b28f2d22749d6479151ed7"; 406 + sha256 = "0an2pnnda33ns94v7x0sv9kmsnk62r8xm0cj4d69f2p63r85fdp6"; 407 }; 408 } 409 { 410 + goPackagePath = "github.com/mitchellh/reflectwalk"; 411 + 412 + src = fetchgit { 413 + url = "https://github.com/mitchellh/reflectwalk"; 414 + rev = "eecf4c70c626c7cfbb95c90195bc34d386c74ac6"; 415 + sha256 = "1nm2ig7gwlmf04w7dbqd8d7p64z2030fnnfbgnd56nmd7dz8gpxq"; 416 }; 417 } 418 { 419 + goPackagePath = "github.com/nu7hatch/gouuid"; 420 + 421 + src = fetchgit { 422 + url = "https://github.com/nu7hatch/gouuid"; 423 rev = "179d4d0c4d8d407a32af483c2354df1d2c91e6c3"; 424 + sha256 = "175alsrjb2a1qzwp1l323vwwpirzaj95yfqqfi780698myhpb52k"; 425 }; 426 } 427 { 428 + goPackagePath = "github.com/packer-community/winrmcp"; 429 + 430 + src = fetchgit { 431 + url = "https://github.com/packer-community/winrmcp"; 432 + rev = "f1bcf36a69fa2945e65dd099eee11b560fbd3346"; 433 + sha256 = "0pj5gfbmx507lp1w3gfn23x0rn0x5rih9nqij9g8d9c4m1sx3275"; 434 }; 435 } 436 { 437 + goPackagePath = "github.com/pierrec/lz4"; 438 + 439 + src = fetchgit { 440 + url = "https://github.com/pierrec/lz4"; 441 rev = "383c0d87b5dd7c090d3cddefe6ff0c2ffbb88470"; 442 sha256 = "0l23bmzqfvgh61zlikj6iakg0kz7lybs8zf0nscylskl2hlr09rp"; 443 }; 444 } 445 { 446 + goPackagePath = "github.com/pierrec/xxHash"; 447 + 448 + src = fetchgit { 449 + url = "https://github.com/pierrec/xxHash"; 450 + rev = "5a004441f897722c627870a981d02b29924215fa"; 451 + sha256 = "146ibrgvgh61jhbbv9wks0mabkci3s0m68sg6shmlv1yixkw6gja"; 452 }; 453 } 454 { 455 + goPackagePath = "github.com/pkg/sftp"; 456 + 457 + src = fetchgit { 458 + url = "https://github.com/pkg/sftp"; 459 + rev = "e84cc8c755ca39b7b64f510fe1fffc1b51f210a5"; 460 + sha256 = "0v6g9j9pnkqz72x5409y8gd8ycniziydvsjb4298dkd21d3b94dg"; 461 }; 462 } 463 { 464 + goPackagePath = "github.com/rackspace/gophercloud"; 465 + 466 + src = fetchgit { 467 + url = "https://github.com/rackspace/gophercloud"; 468 + rev = "53d1dc4400e1ebcd37a0e01d8c1fe2f4db3b99d2"; 469 + sha256 = "0rdyljj395k1w7xnxw1i76w29fgl517mvs7bsqll35lss2gbhan2"; 470 }; 471 } 472 { 473 + goPackagePath = "github.com/satori/go.uuid"; 474 + 475 + src = fetchgit { 476 + url = "https://github.com/satori/go.uuid"; 477 rev = "d41af8bb6a7704f00bc3b7cba9355ae6a5a80048"; 478 sha256 = "0lw8k39s7hab737rn4nngpbsganrniiv7px6g41l6f6vci1skyn2"; 479 }; 480 } 481 { 482 + goPackagePath = "github.com/tent/http-link-go"; 483 + 484 + src = fetchgit { 485 + url = "https://github.com/tent/http-link-go"; 486 + rev = "ac974c61c2f990f4115b119354b5e0b47550e888"; 487 + sha256 = "0iwq842pvp5y77cr25yanj1cgqzmkz1aw6jzgjrrmlqqkdad5z8c"; 488 + }; 489 + } 490 + { 491 + goPackagePath = "github.com/ugorji/go"; 492 + 493 + src = fetchgit { 494 + url = "https://github.com/ugorji/go"; 495 + rev = "646ae4a518c1c3be0739df898118d9bccf993858"; 496 + sha256 = "0njncpdbh115l5mxyks08jh91kdmy0mvbmxj9mr1psv5k97gf0pn"; 497 + }; 498 + } 499 + { 500 + goPackagePath = "golang.org/x/crypto"; 501 + 502 + src = fetchgit { 503 + url = "https://go.googlesource.com/crypto"; 504 + rev = "1f22c0103821b9390939b6776727195525381532"; 505 + sha256 = "05ahvn9g9cj7797n8ryfxv2g26v3lx1pza9d9pg97iw0rvar9i1h"; 506 + }; 507 + } 508 + { 509 + goPackagePath = "golang.org/x/net"; 510 + 511 + src = fetchgit { 512 + url = "https://go.googlesource.com/net"; 513 + rev = "6ccd6698c634f5d835c40c1c31848729e0cecda1"; 514 + sha256 = "05c7kdjkvf7hrdiv1k12nyss6s8chhakqn1adxbrrahr6rl1nhpj"; 515 + }; 516 + } 517 + { 518 + goPackagePath = "golang.org/x/oauth2"; 519 + 520 + src = fetchgit { 521 + url = "https://go.googlesource.com/oauth2"; 522 + rev = "8a57ed94ffd43444c0879fe75701732a38afc985"; 523 + sha256 = "10pxnbsy1lnx7a1x6g3cna5gdm11aal1r446dpmpgj94xiw96mxv"; 524 }; 525 } 526 { 527 + goPackagePath = "google.golang.org/api"; 528 + 529 + src = fetchgit { 530 + url = "https://code.googlesource.com/google-api-go-client"; 531 + rev = "ddff2aff599105a55549cf173852507dfa094b7f"; 532 + sha256 = "03058zh0v997fxmlvd8r4m63r3z0fzg6fval6wnxw3wq22m7h3yx"; 533 }; 534 } 535 { 536 + goPackagePath = "google.golang.org/cloud"; 537 + 538 + src = fetchgit { 539 + url = "https://code.googlesource.com/gocloud"; 540 + rev = "5a3b06f8b5da3b7c3a93da43163b872c86c509ef"; 541 + sha256 = "03zrw3mgh82gvfgz17k97n8hivnvvplc42c7vyr76i90n1mv29g7"; 542 }; 543 } 544 + { 545 + goPackagePath = "gopkg.in/fsnotify.v1"; 546 547 + src = fetchgit { 548 + url = "https://gopkg.in/fsnotify.v1"; 549 + rev = "8611c35ab31c1c28aa903d33cf8b6e44a399b09e"; 550 + sha256 = "17a7z88860hhmbgmpc2si1n67s8zk3vzwv5r4wyhrsljcq0bcv9q"; 551 + }; 552 + } 553 + { 554 + goPackagePath = "gopkg.in/tomb.v1"; 555 556 + src = fetchgit { 557 + url = "https://gopkg.in/tomb.v1"; 558 + rev = "dd632973f1e7218eb1089048e0798ec9ae7dceb8"; 559 + sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"; 560 + }; 561 + } 562 + { 563 + goPackagePath = "gopkg.in/xmlpath.v2"; 564 565 + src = fetchgit { 566 + url = "https://gopkg.in/xmlpath.v2"; 567 + rev = "860cbeca3ebcc600db0b213c0e83ad6ce91f5739"; 568 + sha256 = "0jgvd0y78fir4vkcj8acs0pdvlc0xr7i7cspbkm2yjm8wv23p63h"; 569 + }; 570 + } 571 + ]; 572 }