7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
36 lines
665 B
Nix
36 lines
665 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, substituteAll
|
|
, pname
|
|
, version
|
|
, url
|
|
, sha256
|
|
, homepage
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit pname version;
|
|
|
|
src = fetchurl {
|
|
inherit url sha256;
|
|
};
|
|
|
|
patches = [
|
|
# Fix buidling on platforms other than x86
|
|
(substituteAll {
|
|
src = ./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 = with lib.maintainers; [ yuu ];
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|