base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / linuxsampler / package.nix
blob53e5b6e6e7333f66c7bf64225ca12023a5e4fb31
1 { lib, stdenv, fetchurl, autoconf, automake, bison, libtool, pkg-config, which
2 , alsa-lib, asio, libjack2, libgig, libsndfile, lv2 }:
4 stdenv.mkDerivation rec {
5   pname = "linuxsampler";
6   version = "2.3.1";
8   src = fetchurl {
9     url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
10     sha256 = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE=";
11   };
13   preConfigure = ''
14     make -f Makefile.svn
15   '';
17   nativeBuildInputs = [ autoconf automake bison libtool pkg-config which ];
19   buildInputs = [ alsa-lib asio libjack2 libgig libsndfile lv2 ];
21   enableParallelBuilding = true;
23   meta = with lib; {
24     homepage = "http://www.linuxsampler.org";
25     description = "Sampler backend";
26     longDescription = ''
27       Includes sampler engine, audio and MIDI drivers, network layer
28       (LSCP) API and native C++ API.
30       LinuxSampler is licensed under the GNU GPL with the exception
31       that USAGE of the source code, libraries and applications FOR
32       COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without
33       prior written permission by the LinuxSampler authors. If you
34       have questions on the subject, that are not yet covered by the
35       FAQ, please contact us.
36     '';
37     license = licenses.unfree;
38     maintainers = [ ];
39     platforms = platforms.linux;
40   };