10 stdenv.mkDerivation rec {
12 version = "2.1.20221123";
14 src = fetchFromGitHub {
18 sha256 = "sha256-fVcc8v1c9uU72X6afEo4VoMo6YuDECQSwDQ/TQjgwUY=";
22 url = "https://camanis.net/tyrian/tyrian21.zip";
23 sha256 = "1biz6hf6s7qrwn8ky0g6p8w7yg715w7yklpn6258bkks1s15hpdb";
26 nativeBuildInputs = [ pkg-config ];
27 buildInputs = [ SDL2 SDL2_net ];
29 enableParallelBuilding = true;
31 makeFlags = [ "prefix=${placeholder "out"}" ];
34 mkdir -p $out/share/games/tyrian
35 cp -r $data/* $out/share/games/tyrian/
39 description = ''Open source port of the game "Tyrian"'';
40 homepage = "https://github.com/opentyrian/opentyrian";
41 # This does not account of Tyrian data.
42 # license = lib.licenses.gpl2;