Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 25 lines 639 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, libtheora }: 2 3buildDunePackage rec { 4 pname = "theora"; 5 version = "0.4.0"; 6 7 duneVersion = "3"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-theora"; 12 rev = "v${version}"; 13 hash = "sha256-VN1XYqxMCO0W9tMTqSAwWKv7GErTtRZgnC2SnmmV7+k="; 14 }; 15 16 buildInputs = [ dune-configurator ]; 17 propagatedBuildInputs = [ ogg libtheora ]; 18 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 }; 25}