mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
751 B
Nix
29 lines
751 B
Nix
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, 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 ];
|
|
};
|
|
}
|