gosu: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-08 15:27:28 +01:00
parent c0e4a932cd
commit 2653975e71

View file

@ -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;