2021-01-17 06:49:22 +01:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, pkg-config, 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";
|
2021-09-17 15:32:20 +02:00
|
|
|
version = "3.1.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}";
|
2021-09-17 15:32:20 +02:00
|
|
|
sha256 = "sha256-DxbVYFHIVFF/5ZeHIeu3k+btCvw/qfM7uoH5mb1ikoE=";
|
2019-12-09 01:50:14 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 06:49:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2019-12-09 01:50:14 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|