depot/third_party/nixpkgs/pkgs/development/ocaml-modules/opus/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
681 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, libopus }:
buildDunePackage rec {
pname = "opus";
version = "0.2.2";
duneVersion = "3";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-opus";
rev = "v${version}";
hash = "sha256-Ghfqw/J1oLbTJpYJaiB5M79jaA6DACvyxBVE+NjnPkg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ogg libopus.dev ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-opus";
description = "Bindings to libopus";
license = licenses.gpl2Only;
maintainers = with maintainers; [ dandellion ];
};
}