2021-02-13 14:23:35 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, libsndfile, libsamplerate
|
|
|
|
, meson, ninja, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libaudec";
|
2021-08-10 14:31:46 +00:00
|
|
|
version = "0.3.4";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zrythm";
|
|
|
|
repo = "libaudec";
|
|
|
|
rev = "v${version}";
|
2021-08-10 14:31:46 +00:00
|
|
|
sha256 = "sha256-8morbrq8zG+2N3ruMeJa85ci9P0wPQOfZ5H56diFEAo=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libsndfile libsamplerate ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.zrythm.org";
|
|
|
|
description = "A library for reading and resampling audio files";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|