Unverified Commit 6cd0ba0f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #328629 from fiq/matrixbrandy

matrix-brandy: init 1.23.2
parents 4b97ce3b 28e0ec3c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6634,6 +6634,12 @@
    githubId = 5741401;
    name = "Tim Windelschmidt";
  };
  fiq = {
    email = "raf+git@dreamthought.com";
    github = "fiq";
    githubId = 236293;
    name = "Raf Gemmail";
  };
  firefly-cpp = {
    email = "iztok@iztok-jr-fister.eu";
    github = "firefly-cpp";
+36 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}