nixpkgs/pkgs/games/qtads/default.nix
2022-07-29 19:58:57 +00:00

28 lines
724 B
Nix

{ lib, mkDerivation, fetchFromGitHub, fetchpatch, pkg-config, qmake
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
}:
mkDerivation rec {
pname = "qtads";
version = "3.3.0";
src = fetchFromGitHub {
owner = "realnc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-CndN8l7GGIekfbz7OrTYIElL7SxRxEkiNiZP2NHuxOg=";
};
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";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}