blastem: remove
Requires python2 and no release in over two years to resolve the situation. ``` ./img2tiles.py -s font_interlace_variable.spec font_interlace_variable.tiles File "/build/blastem-3d48cb0c28be/./img2tiles.py", line 78 print len(colors), 'distinct 9-bit colors in image' ^ SyntaxError: invalid syntax ```
This commit is contained in:
parent
64e2164ef3
commit
4ee61b7c18
@ -1,51 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, pkg-config, SDL2, glew, xcftools, python2Packages, makeWrapper }:
|
||||
|
||||
let
|
||||
vasm =
|
||||
stdenv.mkDerivation {
|
||||
pname = "vasm";
|
||||
version = "1.8c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mbitsnbites";
|
||||
repo = "vasm";
|
||||
rev = "244f8bbbdf64ae603f9f6c09a3067943837459ec";
|
||||
sha256 = "0x4y5q7ygxfjfy2wxijkps9khsjjfb169sbda410vaw0m88wqj5p";
|
||||
};
|
||||
makeFlags = [ "CPU=m68k" "SYNTAX=mot" ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp vasmm68k_mot $out/bin
|
||||
'';
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "blastem";
|
||||
version = "0.5.1";
|
||||
src = fetchurl {
|
||||
url = "https://www.retrodev.com/repos/blastem/archive/3d48cb0c28be.tar.gz";
|
||||
sha256 = "07wzbmzp0y8mh59jxg81q17gqagz3psxigxh8dmzsipgg68y6a8r";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ pkg-config SDL2 glew xcftools python2Packages.python python2Packages.pillow vasm ];
|
||||
preBuild = ''
|
||||
patchShebangs img2tiles.py
|
||||
'';
|
||||
postBuild = ''
|
||||
make menu.bin
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/blastem
|
||||
cp -r {blastem,menu.bin,default.cfg,rom.db,shaders} $out/share/blastem/
|
||||
makeWrapper $out/share/blastem/blastem $out/bin/blastem
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.retrodev.com/blastem/";
|
||||
description = "The fast and accurate Genesis emulator";
|
||||
maintainers = with lib.maintainers; [ puffnfresh ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
# Makefile:140: *** aarch64 is not a supported architecture. Stop.
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
@ -79,6 +79,7 @@ mapAliases ({
|
||||
bcat = throw "bcat has been removed because upstream is dead"; # added 2021-08-22
|
||||
beegfs = throw "beegfs has been removed."; # added 2019-11-24
|
||||
beret = throw "beret has been removed"; # added 2021-11-16
|
||||
blastem = throw "blastem has been removed from nixpkgs as it would still require python2."; # added 2022-01-01
|
||||
bluezFull = bluez; # Added 2019-12-03
|
||||
bpftool = bpftools; # Added 2021-05-03
|
||||
brackets = throw "brackets has been removed, it was unmaintained and had open vulnerabilities"; # added 2021-01-24
|
||||
|
@ -3930,8 +3930,6 @@ with pkgs;
|
||||
birdfont = callPackage ../tools/misc/birdfont { };
|
||||
xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { stdenv = gccStdenv; };
|
||||
|
||||
blastem = callPackage ../misc/emulators/blastem { };
|
||||
|
||||
blahtexml = callPackage ../tools/typesetting/tex/blahtexml { };
|
||||
|
||||
blueberry = callPackage ../tools/bluetooth/blueberry { };
|
||||
|
Loading…
Reference in New Issue
Block a user