dsp: 1.9 -> 2.0

This commit is contained in:
Aaron Jheng 2025-04-26 01:56:48 +00:00
parent 2db4ff7a1c
commit 1a5a225a2b
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -14,31 +14,21 @@
ladspaH,
libtool,
libpulseaudio,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dsp";
version = "1.9";
version = "2.0";
src = fetchFromGitHub {
owner = "bmc0";
repo = "dsp";
rev = "v${finalAttrs.version}";
hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY=";
tag = "v${finalAttrs.version}";
hash = "sha256-WUH4+5v1wv6EXTOuRq9iVVZsXMt5DVrtgX8vLE7a8s8=";
};
nativeBuildInputs = [ pkg-config ];
patches = [
# fix compatibility with ffmpeg7
# https://github.com/bmc0/dsp/commit/58a9d0c1f99f2d4c7fc51b6dbe563447ec60120f
(fetchpatch {
url = "https://github.com/bmc0/dsp/commit/58a9d0c1f99f2d4c7fc51b6dbe563447ec60120f.patch?full_index=1";
hash = "sha256-7WgJegDL9sVCRnRwm/f1ZZl2eiuRT5oAQaYoDLjEoqs=";
})
];
buildInputs = [
fftw
zita-convolver