12 src = fetchFromGitHub {
15 rev = "c928eaf97aeec5732625491b64c882e08e314fee";
16 sha256 = "0wghqnsbypmr4xcrhb568bfjdnxzzp8qgnws3jslzmzf34dpk5ls";
20 # Upstream fix for -fno-common toolchains.
22 name = "fno-common.patch";
23 url = "https://github.com/MestreLion/wavegain/commit/ee5e0f9a0ce34c0cf2769ea6566685a54b938304.patch";
24 sha256 = "11yi0czdn5h5bsqp23cww6yn9lm60cij8i1pzfwcfhgyf6f8ym1n";
28 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
32 install -vD wavegain "$out/bin/wavegain"
36 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
37 description = "ReplayGain for wave files";
38 homepage = "https://github.com/MestreLion/wavegain";
39 license = lib.licenses.lgpl21;
40 platforms = lib.platforms.linux;
41 maintainers = [ lib.maintainers.robbinch ];
42 mainProgram = "wavegain";