at master 28 lines 517 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 pkg-config, 7 ogg, 8 libopus, 9}: 10 11buildDunePackage { 12 pname = "opus"; 13 inherit (ogg) version src; 14 15 nativeBuildInputs = [ pkg-config ]; 16 buildInputs = [ dune-configurator ]; 17 propagatedBuildInputs = [ 18 ogg 19 libopus.dev 20 ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/savonet/ocaml-opus"; 24 description = "Bindings to libopus"; 25 license = licenses.gpl2Only; 26 maintainers = with maintainers; [ dandellion ]; 27 }; 28}