about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libaudec/default.nix
blob: 5340f62a32edc33de38debcdb57c929a9b16cc99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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; {
    description = "A library for reading and resampling audio files";
    homepage = "https://www.zrythm.org";
    license = licenses.agpl3Plus;
    mainProgram = "audec";
    platforms = platforms.all;
  };
}