Grimmauld 438b4e3b45
matrix-brandy: fix build
commit 7aeac03 (PR #386495) dropped libX11 and libGLU from propagatedBuildInputs in SDL_compat, and #389106 pointed SDL to SDL_compat, which broke this build

Hydra fail: https://hydra.nixos.org/build/292743187
2025-03-18 21:18:11 +01:00

39 lines
714 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
libX11,
SDL,
}:
stdenv.mkDerivation rec {
pname = "matrix-brandy";
version = "1.23.3";
src = fetchFromGitHub {
owner = "stardot";
repo = "MatrixBrandy";
rev = "V${version}";
hash = "sha256-jw5SxCQ2flvCjO/JO3BHpnpt31wBsBxDkVH7uwVxTS0=";
};
buildInputs = [
libX11
SDL
];
installPhase = ''
mkdir -p $out/bin
cp brandy $out/bin
'';
meta = with lib; {
homepage = "http://brandy.matrixnetwork.co.uk/";
description = "Matrix Brandy BASIC VI for Linux, Windows, MacOSX";
mainProgram = "brandy";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ fiq ];
};
}