nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 48 lines 797 B view raw
1{ 2 lib, 3 mkDerivation, 4 fetchFromGitHub, 5 pkg-config, 6 qmake, 7 SDL2, 8 fluidsynth, 9 libsndfile, 10 libvorbis, 11 mpg123, 12 qtbase, 13}: 14 15mkDerivation rec { 16 pname = "qtads"; 17 version = "3.4.0"; 18 19 src = fetchFromGitHub { 20 owner = "realnc"; 21 repo = pname; 22 rev = "v${version}"; 23 sha256 = "sha256-KIqufpvl7zeUtDBXUOAZxBIbfv+s51DoSaZr3jol+bw="; 24 }; 25 26 nativeBuildInputs = [ 27 pkg-config 28 qmake 29 ]; 30 31 buildInputs = [ 32 SDL2 33 fluidsynth 34 libsndfile 35 libvorbis 36 mpg123 37 qtbase 38 ]; 39 40 meta = with lib; { 41 homepage = "https://realnc.github.io/qtads/"; 42 description = "Multimedia interpreter for TADS games"; 43 mainProgram = "qtads"; 44 license = licenses.gpl3Plus; 45 platforms = platforms.linux; 46 maintainers = with maintainers; [ orivej ]; 47 }; 48}