2020-02-17 00:08:52 +01:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, pkgconfig, qmake
|
2019-12-09 01:50:14 +01:00
|
|
|
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
|
|
|
|
}:
|
|
|
|
|
2020-02-17 00:08:52 +01:00
|
|
|
mkDerivation rec {
|
2019-12-09 01:50:14 +01:00
|
|
|
pname = "qtads";
|
2020-02-17 00:08:52 +01:00
|
|
|
version = "3.0.0";
|
2019-12-09 01:50:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "realnc";
|
|
|
|
repo = pname;
|
2020-02-17 00:08:52 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02kk2hs20h9ffhylwms9f8zikmmlrz1nvbrm97gis9iljkyx035c";
|
2019-12-09 01:50:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
|
|
|
|
|
|
|
buildInputs = [ SDL2 fluidsynth libsndfile libvorbis mpg123 qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://realnc.github.io/qtads/";
|
2019-12-09 01:50:14 +01:00
|
|
|
description = "Multimedia interpreter for TADS games";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|