commit
e970627a71
2 changed files with 4 additions and 18 deletions
|
@ -1,25 +1,22 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
buildGoPackage rec {
|
||||
pname = "gox";
|
||||
version = "20181025";
|
||||
version = "1.0.1";
|
||||
|
||||
goPackagePath = "github.com/mitchellh/gox";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitchellh";
|
||||
repo = "gox";
|
||||
rev = "9cc487598128d0963ff9dcc51176e722788ec645";
|
||||
sha256 = "18indkdwq2m1wy95d71lgbf46jxxrfc5km1fys5laapz993h77v6";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
11
pkgs/development/tools/gox/deps.nix
generated
11
pkgs/development/tools/gox/deps.nix
generated
|
@ -1,11 +0,0 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/mitchellh/iochan";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mitchellh/iochan";
|
||||
rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7";
|
||||
sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue