e0d1b75f19
GitOrigin-RevId: fe01052444c1d66ed6ef76df2af798c9769e9e79
26 lines
631 B
Nix
26 lines
631 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, libsndfile, libsamplerate
|
|
, meson, ninja, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libaudec";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zrythm";
|
|
repo = "libaudec";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-8morbrq8zG+2N3ruMeJa85ci9P0wPQOfZ5H56diFEAo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|