1 {lib, stdenv, fetchurl, cmake}:
5 url = "mirror://debian/pool/main/libr/libresample/libresample_0.1.3-3.diff.gz";
6 sha256 = "063w8rqxw87fc89gas47vk0ll7xl8cy7d8g70gm1l62bqkkajklx";
9 stdenv.mkDerivation rec {
10 pname = "libresample";
13 url = "mirror://debian/pool/main/libr/libresample/libresample_${version}.orig.tar.gz";
14 sha256 = "05a8mmh1bw5afqx0kfdqzmph4x2npcs4idx0p0v6q95lwf22l8i0";
18 cat debian/patches/1001_shlib-cmake.patch | patch -p1
20 nativeBuildInputs = [ cmake ];
23 description = "A real-time library for sampling rate conversion library";
24 license = lib.licenses.lgpl2Plus;
25 homepage = "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html";
26 maintainers = [ lib.maintainers.sander ];
27 platforms = lib.platforms.unix;