12 stdenv.mkDerivation (finalAttrs: {
13 pname = "libresample";
14 version = "0.1.4-unstable-2024-08-23";
22 src = fetchFromGitHub {
25 rev = "7cb7f9c3f72d4e6774d964dc324af827192df7c3";
26 hash = "sha256-8gyGZVblqeHYXKFM79AcfX455+l3Tsoq3xQse5nrKAo=";
30 # Fix testresample.c output span; add exit code
31 # https://github.com/minorninth/libresample/pull/7
43 # For `resample-sndfile`
46 ++ lib.optionals (!libsamplerate.meta.broken) [
47 # For `compareresample`
51 mesonFlags = [ (lib.mesonEnable "compareresample" (!libsamplerate.meta.broken)) ];
56 description = "Real-time library for sampling rate conversion library";
57 homepage = "https://github.com/minorninth/libresample";
58 license = lib.licenses.bsd2; # OR LGPL-2.1-or-later
59 sourceProvenance = [ lib.sourceTypes.fromSource ];
60 platforms = lib.platforms.all;
62 lib.maintainers.sander
65 mainProgram = "resample-sndfile";