2020-09-26 16:45:57 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libsndfile,
|
|
|
|
libsamplerate,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libaudec";
|
2021-08-09 09:01:48 +00:00
|
|
|
version = "0.3.4";
|
2020-09-26 16:45:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zrythm";
|
|
|
|
repo = "libaudec";
|
|
|
|
rev = "v${version}";
|
2021-08-09 09:01:48 +00:00
|
|
|
sha256 = "sha256-8morbrq8zG+2N3ruMeJa85ci9P0wPQOfZ5H56diFEAo=";
|
2020-09-26 16:45:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libsndfile
|
|
|
|
libsamplerate
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for reading and resampling audio files";
|
2022-05-05 00:52:27 +00:00
|
|
|
homepage = "https://www.zrythm.org";
|
2020-09-26 16:45:57 +00:00
|
|
|
license = licenses.agpl3Plus;
|
2022-05-05 00:52:27 +00:00
|
|
|
mainProgram = "audec";
|
2020-09-26 16:45:57 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|