mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
37 lines
688 B
Nix
37 lines
688 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, SDL
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "matrix-brandy";
|
|
version = "1.23.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stardot";
|
|
repo = "MatrixBrandy";
|
|
rev = "V${version}";
|
|
hash = "sha256-alyg4AQ1nSISk3NwniTurRVWeUp1q/SQjK2loek8bfI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|