Files
nixpkgs/pkgs/development/libraries/libsbsms/common.nix
T
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

37 lines
628 B
Nix

{
lib,
stdenv,
fetchurl,
replaceVars,
pname,
version,
url,
sha256,
homepage,
}:
stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
inherit url sha256;
};
patches = [
# Fix building on platforms other than x86
(replaceVars ./configure.patch {
msse = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse";
})
];
doCheck = true;
meta = {
inherit homepage;
description = "Subband sinusoidal modeling library for time stretching and pitch scaling audio";
maintainers = [ ];
license = lib.licenses.gpl2;
platforms = lib.platforms.all;
};
}