zita-resampler: 1.8.0 -> 1.11.2 (#413806)

authored by

Peder Bergebakken Sundt and committed by
GitHub
8efd658a 92270ca7

+6 -13
+6 -13
pkgs/by-name/zi/zita-resampler/package.nix
··· 4 fetchurl, 5 }: 6 7 - stdenv.mkDerivation rec { 8 pname = "zita-resampler"; 9 - version = "1.8.0"; 10 11 src = fetchurl { 12 - url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2"; 13 - sha256 = "sha256-5XRPI8VN0Vs/eDpoe9h57uKmkKRUWhW0nEzwN6pGSqI="; 14 }; 15 16 makeFlags = [ ··· 21 postPatch = 22 '' 23 cd source 24 - substituteInPlace Makefile \ 25 - --replace 'ldconfig' "" 26 '' 27 + lib.optionalString (!stdenv.hostPlatform.isx86_64) '' 28 substituteInPlace Makefile \ 29 - --replace '-DENABLE_SSE2' "" 30 ''; 31 32 - fixupPhase = '' 33 - ln -s $out/lib/libzita-resampler.so.$version $out/lib/libzita-resampler.so.1 34 - ''; 35 - 36 meta = { 37 description = "Resample library by Fons Adriaensen"; 38 - version = version; 39 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html"; 40 license = lib.licenses.gpl2; 41 maintainers = [ lib.maintainers.magnetophon ]; 42 platforms = lib.platforms.linux; 43 }; 44 - }
··· 4 fetchurl, 5 }: 6 7 + stdenv.mkDerivation (finalAttrs: { 8 pname = "zita-resampler"; 9 + version = "1.11.2"; 10 11 src = fetchurl { 12 + url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-${finalAttrs.version}.tar.xz"; 13 + hash = "sha256-qlxU5pYGmvJvPx/tSpYxE8wSN83f1XrlhCq8sazVSSw="; 14 }; 15 16 makeFlags = [ ··· 21 postPatch = 22 '' 23 cd source 24 '' 25 + lib.optionalString (!stdenv.hostPlatform.isx86_64) '' 26 substituteInPlace Makefile \ 27 + --replace-fail '-DENABLE_SSE2' "" 28 ''; 29 30 meta = { 31 description = "Resample library by Fons Adriaensen"; 32 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html"; 33 license = lib.licenses.gpl2; 34 maintainers = [ lib.maintainers.magnetophon ]; 35 platforms = lib.platforms.linux; 36 }; 37 + })