Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
36 lines
688 B
Nix
36 lines
688 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, 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 = [
|
|
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 ];
|
|
};
|
|
}
|
|
|