5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
693 B
Nix
28 lines
693 B
Nix
{ lib, stdenv, fetchurl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "soxr";
|
|
version = "0.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/soxr/soxr-${version}-Source.tar.xz";
|
|
sha256 = "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di";
|
|
};
|
|
|
|
patches = [
|
|
# Remove once https://sourceforge.net/p/soxr/code/merge-requests/5/ is merged.
|
|
./arm64-check.patch
|
|
];
|
|
|
|
outputs = [ "out" "dev" "doc" ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Audio resampling library";
|
|
homepage = "https://soxr.sourceforge.net";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.unix ++ platforms.windows;
|
|
maintainers = [ ];
|
|
};
|
|
}
|