blastem: stay with python2

This commit is contained in:
Frederik Rietdijk 2021-07-27 15:35:02 +02:00
parent d82543f22d
commit d39767ea0f
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, pkg-config, SDL2, glew, xcftools, python, pillow, makeWrapper }:
{ lib, stdenv, fetchurl, fetchFromGitHub, pkg-config, SDL2, glew, xcftools, python2Packages, makeWrapper }:
let
vasm =
@ -26,7 +26,7 @@ stdenv.mkDerivation {
sha256 = "07wzbmzp0y8mh59jxg81q17gqagz3psxigxh8dmzsipgg68y6a8r";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ pkg-config SDL2 glew xcftools python pillow vasm ];
buildInputs = [ pkg-config SDL2 glew xcftools python2Packages.python python2Packages.pillow vasm ];
preBuild = ''
patchShebangs img2tiles.py
'';

View File

@ -3537,9 +3537,7 @@ in
birdfont = callPackage ../tools/misc/birdfont { };
xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { stdenv = gccStdenv; };
blastem = callPackage ../misc/emulators/blastem {
inherit (python27Packages) pillow;
};
blastem = callPackage ../misc/emulators/blastem { };
blueberry = callPackage ../tools/bluetooth/blueberry { };