Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / theora / default.nix
blob6849056d2dedc199150797d1bccaf963b68d449c
1 { lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, libtheora }:
3 buildDunePackage rec {
4   pname = "theora";
5   version = "0.4.0";
7   duneVersion = "3";
9   src = fetchFromGitHub {
10     owner = "savonet";
11     repo = "ocaml-theora";
12     rev = "v${version}";
13     hash = "sha256-VN1XYqxMCO0W9tMTqSAwWKv7GErTtRZgnC2SnmmV7+k=";
14   };
16   buildInputs = [ dune-configurator ];
17   propagatedBuildInputs = [ ogg libtheora ];
19   meta = with lib; {
20     homepage = "https://github.com/savonet/ocaml-theora";
21     description = "Bindings to libtheora";
22     license = licenses.gpl2Only;
23     maintainers = with maintainers; [ dandellion ];
24   };