tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gox: 20140904 -> 0.4.0
adisbladis
8 years ago
6530159f
cfb2e457
+17
-10
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
gox
default.nix
deps.nix
+15
-8
pkgs/development/tools/gox/default.nix
···
1
1
-
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
1
1
+
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2
2
3
3
buildGoPackage rec {
4
4
name = "gox-${version}";
5
5
-
version = "20140904-${stdenv.lib.strings.substring 0 7 rev}";
6
6
-
rev = "e8e6fd4fe12510cc46893dff18c5188a6a6dc549";
5
5
+
version = "0.4.0";
7
6
8
8
-
9
7
goPackagePath = "github.com/mitchellh/gox";
10
8
11
11
-
src = fetchgit {
12
12
-
inherit rev;
13
13
-
url = "https://github.com/mitchellh/gox";
14
14
-
sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
9
9
+
src = fetchFromGitHub {
10
10
+
owner = "mitchellh";
11
11
+
repo = "gox";
12
12
+
rev = "v${version}";
13
13
+
sha256 = "1q4fdkw904mrmh1q5z8pfd3r0gcn5dm776kldqawddy93iiwnp8r";
15
14
};
16
15
17
16
goDeps = ./deps.nix;
17
17
+
18
18
+
meta = with stdenv.lib; {
19
19
+
homepage = https://github.com/mitchellh/gox;
20
20
+
description = "A dead simple, no frills Go cross compile tool";
21
21
+
platforms = platforms.all;
22
22
+
license = licenses.mpl20;
23
23
+
};
24
24
+
18
25
}
+2
-2
pkgs/development/tools/gox/deps.nix
···
4
4
fetch = {
5
5
type = "git";
6
6
url = "https://github.com/mitchellh/iochan";
7
7
-
rev = "b584a329b193e206025682ae6c10cdbe03b0cd77";
8
8
-
sha256 = "1fcwdhfci41ibpng2j4c1bqfng578cwzb3c00yw1lnbwwhaq9r6b";
7
7
+
rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7";
8
8
+
sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx";
9
9
};
10
10
}
11
11
]