3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/linuxsampler/default.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoconf, automake, bison, libtool, pkg-config, which
, alsa-lib, asio, libjack2, libgig, libsndfile, lv2 }:
stdenv.mkDerivation rec {
pname = "linuxsampler";
2021-05-18 23:54:20 +01:00
version = "2.2.0";
2017-12-09 01:35:27 +00:00
src = fetchurl {
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
2021-05-18 23:54:20 +01:00
sha256 = "sha256-xNFjxrrC0B8Oj10HIQ1AmI7pO34HuYRyyUaoB2MDmYw=";
};
preConfigure = ''
2017-12-09 01:35:27 +00:00
make -f Makefile.svn
'';
nativeBuildInputs = [ autoconf automake bison libtool pkg-config which ];
2017-12-09 01:35:27 +00:00
buildInputs = [ alsa-lib asio libjack2 libgig libsndfile lv2 ];
2017-12-09 01:35:27 +00:00
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.linuxsampler.org";
description = "Sampler backend";
longDescription = ''
Includes sampler engine, audio and MIDI drivers, network layer
(LSCP) API and native C++ API.
LinuxSampler is licensed under the GNU GPL with the exception
that USAGE of the source code, libraries and applications FOR
COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without
prior written permission by the LinuxSampler authors. If you
have questions on the subject, that are not yet covered by the
FAQ, please contact us.
2017-12-09 01:35:27 +00:00
'';
license = licenses.unfree;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}