nixpkgs/pkgs/games/qtads/default.nix

29 lines
751 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, fetchpatch, pkg-config, qmake
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
}:
2020-02-16 23:08:52 +00:00
mkDerivation rec {
pname = "qtads";
2023-05-19 07:10:10 +00:00
version = "3.4.0";
src = fetchFromGitHub {
owner = "realnc";
repo = pname;
2020-02-16 23:08:52 +00:00
rev = "v${version}";
2023-05-19 07:10:10 +00:00
sha256 = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw=";
};
nativeBuildInputs = [ pkg-config qmake ];
buildInputs = [ SDL2 fluidsynth libsndfile libvorbis mpg123 qtbase ];
meta = with lib; {
homepage = "https://realnc.github.io/qtads/";
description = "Multimedia interpreter for TADS games";
mainProgram = "qtads";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}