2014-04-05 20:54:47 +02:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
let
|
|
|
|
patch = fetchurl {
|
2015-05-21 23:52:24 +02:00
|
|
|
url = mirror://debian/pool/main/libr/libresample/libresample_0.1.3-3.diff.gz;
|
2014-04-05 20:54:47 +02:00
|
|
|
sha256 = "063w8rqxw87fc89gas47vk0ll7xl8cy7d8g70gm1l62bqkkajklx";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libresample-0.1.3";
|
|
|
|
src = fetchurl {
|
2015-05-21 23:52:24 +02:00
|
|
|
url = mirror://debian/pool/main/libr/libresample/libresample_0.1.3.orig.tar.gz;
|
2014-04-05 20:54:47 +02:00
|
|
|
sha256 = "05a8mmh1bw5afqx0kfdqzmph4x2npcs4idx0p0v6q95lwf22l8i0";
|
|
|
|
};
|
|
|
|
patches = [ patch ];
|
|
|
|
preConfigure = ''
|
|
|
|
cat debian/patches/1001_shlib-cmake.patch | patch -p1
|
|
|
|
'';
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A real-time library for sampling rate conversion library";
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
homepage = https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html;
|
2014-09-13 13:51:39 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-04-05 20:54:47 +02:00
|
|
|
};
|
|
|
|
}
|