3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/go/gox.nix

29 lines
753 B
Nix
Raw Normal View History

2015-02-04 12:46:32 +00:00
{ lib, goPackages, fetchFromGitHub }:
2014-05-14 00:19:41 +01:00
2015-02-04 12:46:32 +00:00
with goPackages;
2014-05-14 00:19:41 +01:00
2015-02-04 12:46:32 +00:00
buildGoPackage rec {
rev = "c7329055e2aeb253a947e5cc876586ff4ca19199";
name = "gox-${lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/mitchellh/gox";
src = fetchFromGitHub {
inherit rev;
owner = "mitchellh";
repo = "gox";
sha256 = "0zhb88jjxqn3sdc4bpzvajqvgi9igp5gk03q12gaksaxhy2wl4jy";
};
2014-05-14 00:19:41 +01:00
2015-02-04 12:46:32 +00:00
buildInputs = [ iochan ];
2014-05-14 00:19:41 +01:00
propagatedBuildInputs = [ go ];
dontInstallSrc = true;
2014-05-14 00:19:41 +01:00
meta = with lib; {
description = "A simple, no-frills tool for Go cross compilation that behaves a lot like standard go build";
homepage = https://github.com/mitchellh/gox;
maintainers = with maintainers; [ cstrahan ];
platforms = platforms.unix;
};
}