From a92360c7a613a5f1e2b4c3ef362320efc3bf0362 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 8 Mar 2022 15:23:46 +0100 Subject: [PATCH] sdl-jstest: switch to fetchFromGitHub --- pkgs/tools/misc/sdl-jstest/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/sdl-jstest/default.nix b/pkgs/tools/misc/sdl-jstest/default.nix index c299a140b079..d6c336990cf0 100644 --- a/pkgs/tools/misc/sdl-jstest/default.nix +++ b/pkgs/tools/misc/sdl-jstest/default.nix @@ -1,14 +1,15 @@ -{ lib, stdenv, fetchgit, cmake, pkg-config, SDL, SDL2, ncurses, docbook_xsl, git }: +{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, SDL, SDL2, ncurses, docbook_xsl, git }: stdenv.mkDerivation { pname = "sdl-jstest"; version = "2018-06-15"; - # Submodules - src = fetchgit { - url = "https://github.com/Grumbel/sdl-jstest"; + src = fetchFromGitHub { + owner = "Grumbel"; + repo = "sdl-jstest"; rev = "aafbdb1ed3e687583037ba55ae88b1210d6ce98b"; - sha256 = "0p4cjzcq0bbkzad19jwdklylqhq2q390q7dpg8bfzl2rwls883rk"; + sha256 = "sha256-Mw+ENOVZ0O8WercdDNLAAkNMPZ2NyxSa+nMtgNmXjFw="; + fetchSubmodules = true; }; buildInputs = [ SDL SDL2 ncurses ];