2021-01-15 05:42:41 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
cmake,
|
|
|
|
}:
|
2013-06-04 09:35:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 19:12:15 +00:00
|
|
|
pname = "soxr";
|
|
|
|
version = "0.1.3";
|
2013-06-04 09:35:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 19:12:15 +00:00
|
|
|
url = "mirror://sourceforge/soxr/soxr-${version}-Source.tar.xz";
|
2018-03-09 21:18:09 +00:00
|
|
|
sha256 = "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di";
|
2013-06-04 09:35:33 +00:00
|
|
|
};
|
|
|
|
|
2021-02-26 22:50:26 +00:00
|
|
|
patches = [
|
|
|
|
# Remove once https://sourceforge.net/p/soxr/code/merge-requests/5/ is merged.
|
|
|
|
./arm64-check.patch
|
|
|
|
];
|
|
|
|
|
2023-05-17 21:03:28 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
"doc"
|
|
|
|
];
|
2015-10-07 21:12:30 +00:00
|
|
|
|
2015-09-24 23:14:58 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2013-06-04 09:35:33 +00:00
|
|
|
|
2021-11-07 19:12:15 +00:00
|
|
|
meta = with lib; {
|
2013-06-04 09:35:33 +00:00
|
|
|
description = "Audio resampling library";
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://soxr.sourceforge.net";
|
2021-11-07 19:12:15 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2024-02-08 19:43:57 +00:00
|
|
|
platforms = platforms.unix ++ platforms.windows;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2013-06-04 09:35:33 +00:00
|
|
|
};
|
|
|
|
}
|