commit
e970627a71
@ -1,25 +1,22 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage {
|
buildGoPackage rec {
|
||||||
pname = "gox";
|
pname = "gox";
|
||||||
version = "20181025";
|
version = "1.0.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/mitchellh/gox";
|
goPackagePath = "github.com/mitchellh/gox";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mitchellh";
|
owner = "mitchellh";
|
||||||
repo = "gox";
|
repo = "gox";
|
||||||
rev = "9cc487598128d0963ff9dcc51176e722788ec645";
|
rev = "v${version}";
|
||||||
sha256 = "18indkdwq2m1wy95d71lgbf46jxxrfc5km1fys5laapz993h77v6";
|
sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/mitchellh/gox";
|
homepage = "https://github.com/mitchellh/gox";
|
||||||
description = "A dead simple, no frills Go cross compile tool";
|
description = "A dead simple, no frills Go cross compile tool";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
license = licenses.mpl20;
|
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 New Issue
Block a user