depot/third_party/nixpkgs/pkgs/applications/misc/audio/soxr/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

28 lines
724 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" "doc" ]; # headers are just two and very small
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "An audio resampling library";
homepage = "http://soxr.sourceforge.net";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}