diff options
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/qtads/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/games/qtads/default.nix b/pkgs/games/qtads/default.nix new file mode 100644 index 00000000000..dda7799aacb --- /dev/null +++ b/pkgs/games/qtads/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, qmake +, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase +}: + +stdenv.mkDerivation rec { + pname = "qtads"; + version = "2.1.99.2019-04-12"; + + src = fetchFromGitHub { + owner = "realnc"; + repo = pname; + rev = "43289a830a18c66a293c2b1ee75a08e92e8dd5dc"; + sha256 = "0zscf6nmjjc4i7c38iy8znv2s453xc49gn7knyi3g1l6iinjwbx7"; + }; + + nativeBuildInputs = [ pkgconfig qmake ]; + + buildInputs = [ SDL2 fluidsynth libsndfile libvorbis mpg123 qtbase ]; + + meta = with lib; { + homepage = https://realnc.github.io/qtads/; + description = "Multimedia interpreter for TADS games"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ orivej ]; + }; +} |