about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libaudec/default.nix
blob: a243e56c2fe3b9f5e5d2b9897b172d435c4b1778 (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
{ lib, stdenv, fetchFromGitHub
, libsndfile, libsamplerate
, meson, ninja, pkg-config
}:

stdenv.mkDerivation rec {
  pname = "libaudec";
  version = "0.2.4";

  src = fetchFromGitHub {
    owner = "zrythm";
    repo = "libaudec";
    rev = "v${version}";
    sha256 = "1570m2dfia17dbkhd2qhx8jjihrpm7g8nnyg6n4wif4vv229s7dz";
  };

  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;
  };
}