@@ -1,18 +1,25 @@
1−{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
1+{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 name = "gox-${version}";
5− version = "20140904-${stdenv.lib.strings.substring 0 7 rev}";
6− rev = "e8e6fd4fe12510cc46893dff18c5188a6a6dc549";
5+ version = "0.4.0";
76
8−
97 goPackagePath = "github.com/mitchellh/gox";
108
11− src = fetchgit {
12− inherit rev;
13− url = "https://github.com/mitchellh/gox";
14− sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
9+ src = fetchFromGitHub {
10+ owner = "mitchellh";
11+ repo = "gox";
12+ rev = "v${version}";
13+ sha256 = "1q4fdkw904mrmh1q5z8pfd3r0gcn5dm776kldqawddy93iiwnp8r";
1514 };
1615
1716 goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ homepage = https://github.com/mitchellh/gox;
20+ description = "A dead simple, no frills Go cross compile tool";
21+ platforms = platforms.all;
22+ license = licenses.mpl20;
23+ };
24+
1825}