Files
nixpkgs/pkgs/by-name/li/linuxsampler/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

73 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
autoconf,
automake,
bison,
libtool,
pkg-config,
which,
alsa-lib,
asio,
libjack2,
libgig,
libsndfile,
lv2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "linuxsampler";
version = "2.3.1";
src = fetchurl {
url = "https://download.linuxsampler.org/packages/linuxsampler-${finalAttrs.version}.tar.bz2";
hash = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE=";
};
env.HAVE_UNIX98 = "1";
preConfigure = ''
make -f Makefile.svn
'';
nativeBuildInputs = [
autoconf
automake
bison
libtool
pkg-config
which
];
buildInputs = [
alsa-lib
asio
libjack2
libgig
libsndfile
lv2
];
enableParallelBuilding = true;
meta = {
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.
'';
license = lib.licenses.unfree;
maintainers = [ ];
platforms = lib.platforms.linux;
};
})