depot/third_party/nixpkgs/pkgs/games/qtads/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
739 B
Nix

{ lib, mkDerivation, fetchFromGitHub, pkg-config, qmake
, SDL2, fluidsynth, libsndfile, libvorbis, mpg123, qtbase
}:
mkDerivation rec {
pname = "qtads";
version = "3.4.0";
src = fetchFromGitHub {
owner = "realnc";
repo = pname;
rev = "v${version}";
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 ];
};
}