summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2019-12-09 00:50:14 +0000
committerOrivej Desh <orivej@gmx.fr>2019-12-09 00:55:40 +0000
commit571c310007d0e659e2d6aa412ac9229481e32a0a (patch)
tree11fc4789d5794a9482fda885ea1665aed6ddbae0 /pkgs/games
parent5bd1bd08ed4e7bc10a5d426b9b02e212e9a08f8b (diff)
downloadnixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar.gz
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar.bz2
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar.lz
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar.xz
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.tar.zst
nixpkgs-571c310007d0e659e2d6aa412ac9229481e32a0a.zip
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
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/qtads/default.nix27
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 ];
+  };
+}