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