sdl-jstest: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-08 15:23:46 +01:00
parent 96aad97242
commit a92360c7a6

View file

@ -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 { stdenv.mkDerivation {
pname = "sdl-jstest"; pname = "sdl-jstest";
version = "2018-06-15"; version = "2018-06-15";
# Submodules src = fetchFromGitHub {
src = fetchgit { owner = "Grumbel";
url = "https://github.com/Grumbel/sdl-jstest"; repo = "sdl-jstest";
rev = "aafbdb1ed3e687583037ba55ae88b1210d6ce98b"; rev = "aafbdb1ed3e687583037ba55ae88b1210d6ce98b";
sha256 = "0p4cjzcq0bbkzad19jwdklylqhq2q390q7dpg8bfzl2rwls883rk"; sha256 = "sha256-Mw+ENOVZ0O8WercdDNLAAkNMPZ2NyxSa+nMtgNmXjFw=";
fetchSubmodules = true;
}; };
buildInputs = [ SDL SDL2 ncurses ]; buildInputs = [ SDL SDL2 ncurses ];