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 libvorbis, 8}: 9 10buildDunePackage rec { 11 pname = "vorbis"; 12 version = "0.8.0"; 13 14 duneVersion = "3"; 15 16 src = fetchFromGitHub { 17 owner = "savonet"; 18 repo = "ocaml-vorbis"; 19 rev = "v${version}"; 20 hash = "sha256-iCoE7I70wAp4n4XfETVKeaob2811E97/e6144bY/nqk="; 21 }; 22 23 buildInputs = [ dune-configurator ]; 24 propagatedBuildInputs = [ 25 ogg 26 libvorbis 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/savonet/ocaml-vorbis"; 31 description = "Bindings to libvorbis"; 32 license = licenses.gpl2Only; 33 maintainers = with maintainers; [ dandellion ]; 34 }; 35}