about summary refs log tree commit diff
path: root/pkgs/tools/misc/gosu
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-03-08 15:27:28 +0100
committerFelix Buehler <account@buehler.rocks>2022-03-14 19:32:49 +0100
commit2653975e7174c7e9191446d6383e030f1394db6e (patch)
tree230dca0930f9e431e48b486d7cb5f0259172c204 /pkgs/tools/misc/gosu
parentc0e4a932cdf7a9f8d346c8fbb5ab309ead239beb (diff)
gosu: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/tools/misc/gosu')
-rw-r--r--pkgs/tools/misc/gosu/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/misc/gosu/default.nix b/pkgs/tools/misc/gosu/default.nix
index 033883ab1c8c1..d4c233007d26d 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;