about summary refs log tree commit diff
path: root/pkgs/development/tools/gox/default.nix
blob: 65bc55c6d8d7ba30e4e40710dad916a8470d4e17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "gox-${version}";
  version = "0.4.0";

  goPackagePath = "github.com/mitchellh/gox";

  src = fetchFromGitHub {
    owner = "mitchellh";
    repo = "gox";
    rev = "v${version}";
    sha256 = "1q4fdkw904mrmh1q5z8pfd3r0gcn5dm776kldqawddy93iiwnp8r";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    homepage = https://github.com/mitchellh/gox;
    description = "A dead simple, no frills Go cross compile tool";
    platforms = platforms.all;
    license = licenses.mpl20;
  };

}