Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, faad2, pkg-config }:
2
3buildDunePackage rec {
4 pname = "faad";
5 version = "0.5.1";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-faad";
10 rev = "v${version}";
11 sha256 = "sha256-3ayKZhgJAgsoOqn0InSrM5f3TImRHOQMtWETICo4t3o=";
12 };
13
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ dune-configurator ];
16 propagatedBuildInputs = [ faad2 ];
17
18 meta = with lib; {
19 homepage = "https://github.com/savonet/ocaml-faad";
20 description = "Bindings for the faad library which provides functions for decoding AAC audio files";
21 license = licenses.gpl2Plus;
22 maintainers = with maintainers; [ dandellion ];
23 };
24}