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