git.iko.soy/typeable/nixpkgs
on master help sign in
gox: 20140904 -> 0.4.0
commit6530159f17a33e30cb84cedea8832ea1d3555eb3 authoradisbladis <adis@blad.is> dateMon 4 Dec 2017, 16:12 (9 years ago) parentcfb2e45
2 files changed+17−10
pkgs/development/tools/gox/default.nix+15−8 pkgs/development/tools/gox/deps.nix+2−2
pkgs/development/tools/gox/default.nix+15−8
@@ -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}
pkgs/development/tools/gox/deps.nix+2−2
@@ -4,8 +4,8 @@
44 fetch = {
55 type = "git";
66 url = "https://github.com/mitchellh/iochan";
7− rev = "b584a329b193e206025682ae6c10cdbe03b0cd77";
8− sha256 = "1fcwdhfci41ibpng2j4c1bqfng578cwzb3c00yw1lnbwwhaq9r6b";
7+ rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7";
8+ sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx";
99 };
1010 }
1111]