diff --git a/pkgs/tools/misc/gosu/default.nix b/pkgs/tools/misc/gosu/default.nix index 033883ab1c8c..d4c233007d26 100644 --- a/pkgs/tools/misc/gosu/default.nix +++ b/pkgs/tools/misc/gosu/default.nix @@ -1,16 +1,16 @@ -{ lib, buildGoPackage, fetchgit }: +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "gosu"; - version = "2017-05-09"; - rev = "e87cf95808a7b16208515c49012aa3410bc5bba8"; + version = "unstable-2017-05-09"; goPackagePath = "github.com/tianon/gosu"; - src = fetchgit { - inherit rev; - url = "https://github.com/tianon/gosu"; - sha256 = "1qp1cfx0hrr4qlnh7rhjb4xlxv9697flmgzzl6jcdkrpk1f0bz8m"; + src = fetchFromGitHub { + owner = "tianon"; + repo = "gosu"; + rev = "e87cf95808a7b16208515c49012aa3410bc5bba8"; + sha256 = "sha256-Ff0FXJg3z8akof+/St1JJu1OO1kS5gMtxSRnCLpj4eI="; }; goDeps = ./deps.nix;