2024-05-25 14:04:25 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, pkg-config, qmake
|
2019-12-09 00:50:14 +00:00
|
|
|
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
|
|
|
|
}:
|
|
|
|
|
2020-02-16 23:08:52 +00:00
|
|
|
mkDerivation rec {
|
2019-12-09 00:50:14 +00:00
|
|
|
pname = "qtads";
|
2023-05-19 07:10:10 +00:00
|
|
|
version = "3.4.0";
|
2019-12-09 00:50:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "realnc";
|
|
|
|
repo = pname;
|
2020-02-16 23:08:52 +00:00
|
|
|
rev = "v${version}";
|
2023-05-19 07:10:10 +00:00
|
|
|
sha256 = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw=";
|
2019-12-09 00:50:14 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2019-12-09 00:50:14 +00:00
|
|
|
|
|
|
|
buildInputs = [ SDL2 fluidsynth libsndfile libvorbis mpg123 qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://realnc.github.io/qtads/";
|
2019-12-09 00:50:14 +00:00
|
|
|
description = "Multimedia interpreter for TADS games";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "qtads";
|
2019-12-09 00:50:14 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|