0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00: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, lv2,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "linuxsampler"; pname = "linuxsampler";
version = "2.3.1"; version = "2.3.1";
src = fetchurl { src = fetchurl {
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2"; url = "https://download.linuxsampler.org/packages/linuxsampler-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE="; hash = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE=";
}; };
env.HAVE_UNIX98 = "1";
preConfigure = '' preConfigure = ''
make -f Makefile.svn make -f Makefile.svn
''; '';
@ -49,7 +51,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = {
homepage = "http://www.linuxsampler.org"; homepage = "http://www.linuxsampler.org";
description = "Sampler backend"; description = "Sampler backend";
longDescription = '' longDescription = ''
@ -63,8 +65,8 @@ stdenv.mkDerivation rec {
have questions on the subject, that are not yet covered by the have questions on the subject, that are not yet covered by the
FAQ, please contact us. FAQ, please contact us.
''; '';
license = licenses.unfree; license = lib.licenses.unfree;
maintainers = [ ]; maintainers = [ ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} })