python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / opus / default.nix
blobecaf2090ca0fc5813c84ebd7d7b2b5c99b4ccfae
1 { lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, libopus }:
3 buildDunePackage rec {
4   pname = "opus";
5   version = "0.2.2";
7   useDune2 = true;
9   src = fetchFromGitHub {
10     owner = "savonet";
11     repo = "ocaml-opus";
12     rev = "v${version}";
13     sha256 = "sha256-Ghfqw/J1oLbTJpYJaiB5M79jaA6DACvyxBVE+NjnPkg=";
14   };
16   nativeBuildInputs = [ pkg-config ];
17   buildInputs = [ dune-configurator ];
18   propagatedBuildInputs = [ ogg libopus.dev ];
20   meta = with lib; {
21     homepage = "https://github.com/savonet/ocaml-opus";
22     description = "Bindings to libopus";
23     license = licenses.gpl2Only;
24     maintainers = with maintainers; [ dandellion ];
25   };