2024-06-05 15:53:02 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, pkg-config, qmake
|
2020-04-24 23:36:52 +00:00
|
|
|
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qtads";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "3.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "realnc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ SDL2 fluidsynth libsndfile libvorbis mpg123 qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://realnc.github.io/qtads/";
|
|
|
|
description = "Multimedia interpreter for TADS games";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qtads";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|