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