From 571c310007d0e659e2d6aa412ac9229481e32a0a Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 9 Dec 2019 00:50:14 +0000 Subject: qtads: init at 2.1.99.2019-04-12 This version is much easier to package than the last 2016 release. It self-describes as 2.1.99 in Help > About. https://github.com/realnc/qtads/issues/8 --- pkgs/games/qtads/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/games/qtads/default.nix (limited to 'pkgs/games') 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 ]; + }; +} -- cgit 1.4.1