linuxsampler: refactor

emaryn 9dcd0464 47f1a584

+9 -7
+9 -7
pkgs/by-name/li/linuxsampler/package.nix
··· 16 lv2, 17 }: 18 19 - stdenv.mkDerivation rec { 20 pname = "linuxsampler"; 21 version = "2.3.1"; 22 23 src = fetchurl { 24 - url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2"; 25 - sha256 = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE="; 26 }; 27 28 preConfigure = '' 29 make -f Makefile.svn ··· 49 50 enableParallelBuilding = true; 51 52 - meta = with lib; { 53 homepage = "http://www.linuxsampler.org"; 54 description = "Sampler backend"; 55 longDescription = '' ··· 63 have questions on the subject, that are not yet covered by the 64 FAQ, please contact us. 65 ''; 66 - license = licenses.unfree; 67 maintainers = [ ]; 68 - platforms = platforms.linux; 69 }; 70 - }
··· 16 lv2, 17 }: 18 19 + stdenv.mkDerivation (finalAttrs: { 20 pname = "linuxsampler"; 21 version = "2.3.1"; 22 23 src = fetchurl { 24 + url = "https://download.linuxsampler.org/packages/linuxsampler-${finalAttrs.version}.tar.bz2"; 25 + hash = "sha256-T7quk5N5JBiPqIziQd0vaCr8tLDbwS6otz6egY01OTE="; 26 }; 27 + 28 + env.HAVE_UNIX98 = "1"; 29 30 preConfigure = '' 31 make -f Makefile.svn ··· 51 52 enableParallelBuilding = true; 53 54 + meta = { 55 homepage = "http://www.linuxsampler.org"; 56 description = "Sampler backend"; 57 longDescription = '' ··· 65 have questions on the subject, that are not yet covered by the 66 FAQ, please contact us. 67 ''; 68 + license = lib.licenses.unfree; 69 maintainers = [ ]; 70 + platforms = lib.platforms.linux; 71 }; 72 + })