Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 ogg, 7 libtheora, 8}: 9 10buildDunePackage rec { 11 pname = "theora"; 12 version = "0.4.1"; 13 14 duneVersion = "3"; 15 16 src = fetchFromGitHub { 17 owner = "savonet"; 18 repo = "ocaml-theora"; 19 rev = "v${version}"; 20 hash = "sha256-2FXB5BOBRQhnpEmdlYBdZZXuXW9K+1cu7akJQDuDAMc="; 21 }; 22 23 buildInputs = [ dune-configurator ]; 24 propagatedBuildInputs = [ 25 ogg 26 libtheora 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/savonet/ocaml-theora"; 31 description = "Bindings to libtheora"; 32 license = licenses.gpl2Only; 33 maintainers = with maintainers; [ dandellion ]; 34 }; 35}