1{ lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "gox";
5 version = "1.0.1";
6
7 goPackagePath = "github.com/mitchellh/gox";
8
9 src = fetchFromGitHub {
10 owner = "mitchellh";
11 repo = "gox";
12 rev = "v${version}";
13 sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7";
14 };
15
16 meta = with lib; {
17 homepage = "https://github.com/mitchellh/gox";
18 description = "A dead simple, no frills Go cross compile tool";
19 license = licenses.mpl20;
20 };
21}