diff options
Diffstat (limited to 'pkgs/development/tools/packet/default.nix')
-rw-r--r-- | pkgs/development/tools/packet/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/tools/packet/default.nix b/pkgs/development/tools/packet/default.nix index eb1a48d24b84..4c30d000ce20 100644 --- a/pkgs/development/tools/packet/default.nix +++ b/pkgs/development/tools/packet/default.nix @@ -1,18 +1,16 @@ -# This file was generated by go2nix. -{ stdenv, buildGoPackage, fetchFromGitHub }: +# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 +{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: buildGoPackage rec { name = "packet-${version}"; - version = "20161215-${stdenv.lib.strings.substring 0 7 rev}"; - rev = "2b8f07ae2246e1a96e007233419867fa0d6747f9"; + version = "v2.2.2"; goPackagePath = "github.com/ebsarr/packet"; - src = fetchFromGitHub { - inherit rev; - owner = "ebsarr"; - repo = "packet"; - sha256 = "1wchrm96ly5m1rcy9d51fs3xjswh746r27hgc410rksiahanzhff"; + src = fetchgit { + rev = version; + url = "https://github.com/ebsarr/packet"; + sha256 = "18n8f2rlab4icb28k1b9gnh30zy382v792x07fmcdqq4nkw6wvwf"; }; goDeps = ./deps.nix; |