Merge pull request #299321 from trofi/libsamplerate-update

libsamplerate: 0.1.9 -> 0.2.2
This commit is contained in:
Mario Rodas 2024-03-26 20:52:41 -05:00 committed by GitHub
commit 1ef51b540c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 6 deletions

View File

@ -5,11 +5,11 @@ let
in stdenv.mkDerivation rec {
pname = "libsamplerate";
version = "0.1.9";
version = "0.2.2";
src = fetchurl {
url = "http://www.mega-nerd.com/SRC/${pname}-${version}.tar.gz";
sha256 = "1ha46i0nbibq0pl0pjwcqiyny4hj8lp1bnl4dpxm64zjw9lb2zha";
url = "https://github.com/libsndfile/libsamplerate/releases/download/${version}/libsamplerate-${version}.tar.xz";
hash = "sha256-MljaKAUR0ktJ1rCGFbvoJNDKzJhCsOTK8RxSzysEOJM=";
};
nativeBuildInputs = [ pkg-config ];
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
configureFlags = [ "--disable-fftw" ];
outputs = [ "bin" "dev" "out" ];
outputs = [ "dev" "out" ];
postConfigure = optionalString stdenv.isDarwin ''
# need headers from the Carbon.framework in /System/Library/Frameworks to
@ -30,8 +30,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
description = "Sample Rate Converter for audio";
mainProgram = "sndfile-resample";
homepage = "http://www.mega-nerd.com/SRC/index.html";
homepage = "https://libsndfile.github.io/libsamplerate/";
license = licenses.bsd2;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;