0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

linuxsampler: refactor

This commit is contained in:
emaryn 2025-04-26 11:32:45 +08:00
parent 47f1a58457
commit 9dcd046457

View file

@ -16,15 +16,17 @@
lv2,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "linuxsampler";
version = "2.3.1";
src = fetchurl {
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
sha256 = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE=";
url = "https://download.linuxsampler.org/packages/linuxsampler-${finalAttrs.version}.tar.bz2";
hash = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE=";
};
env.HAVE_UNIX98 = "1";
preConfigure = ''
make -f Makefile.svn
'';
@ -49,7 +51,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with lib; {
meta = {
homepage = "http://www.linuxsampler.org";
description = "Sampler backend";
longDescription = ''
@ -63,8 +65,8 @@ stdenv.mkDerivation rec {
have questions on the subject, that are not yet covered by the
FAQ, please contact us.
'';
license = licenses.unfree;
license = lib.licenses.unfree;
maintainers = [ ];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}
})