1 { fasm, lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation (finalAttr: {
11 rev = "v${finalAttr.version}";
12 hash = "sha256-TZw2+R7Dzojzxzal1Wp8jhe5gwU4CfZDROITi5Z+auo=";
19 rev = "f65cc7ef2a3cccd6264b2eb265d7fffbecb06ba4";
20 hash = "sha256-oeHcK9zYMDWk5sWfzYqLtC3MAJVtcaDJy4PvUGrxiPE=";
25 buildInputs = [ fasm ];
27 hardeningDisable = [ "fortify" ];
36 install -D patcher9x $out/bin/patcher9x
41 description = "Patch for Windows 95/98/98 SE/Me to fix CPU issues";
42 homepage = "https://github.com/JHRobotics/patcher9x";
43 license = licenses.mit;
44 maintainers = with maintainers; [ hughobrien ];
45 platforms = platforms.linux;