diff --git a/pkgs/tools/package-management/gx/deps.json b/pkgs/tools/package-management/gx/deps.json index 781557b6a4f6..3dd8e8f6ab31 100644 --- a/pkgs/tools/package-management/gx/deps.json +++ b/pkgs/tools/package-management/gx/deps.json @@ -125,6 +125,15 @@ "sha256": "1klpdc4qkrfy31r7qh00fcz42blswzabmcnry9byd5adhszxj9bw" } }, + { + "goPackagePath": "github.com/kr/fs", + "fetch": { + "type": "git", + "url": "https://github.com/kr/fs", + "rev": "2788f0dbd16903de03cb8186e5c7d97b69ad387b", + "sha256": "1c0fipl4rsh0v5liq1ska1dl83v3llab4k6lm8mvrx9c4dyp71ly" + } + }, { "goPackagePath": "github.com/mitchellh/go-homedir", "fetch": { diff --git a/pkgs/tools/package-management/gx/go/default.nix b/pkgs/tools/package-management/gx/go/default.nix new file mode 100644 index 000000000000..195dafe3d711 --- /dev/null +++ b/pkgs/tools/package-management/gx/go/default.nix @@ -0,0 +1,27 @@ +# This file was generated by go2nix. +{ stdenv, buildGoPackage, fetchgit +, gx +}: + +buildGoPackage rec { + name = "gx-go-${version}"; + version = "20160611-${stdenv.lib.strings.substring 0 7 rev}"; + rev = "639fc0be1a153c59d8946904cceecf0b66ab2944"; + + goPackagePath = "github.com/whyrusleeping/gx-go"; + + src = fetchgit { + inherit rev; + url = "https://github.com/whyrusleeping/gx-go"; + sha256 = "0qxp7gqrx1rhcbqvp4jdb3gj1dlj200bdc4gq8pfklc8fcz1lc6l"; + }; + + goDeps = ../deps.json; + + extraSrcs = [ + { + goPackagePath = gx.goPackagePath; + src = gx.src; + } + ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c240e48be71d..4e5bc84e7a47 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1830,6 +1830,7 @@ in }; gx = callPackage ../tools/package-management/gx { }; + gx-go = callPackage ../tools/package-management/gx/go { }; sbsigntool = callPackage ../tools/security/sbsigntool { };