Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, libvorbis }:
2
3buildDunePackage rec {
4 pname = "vorbis";
5 version = "0.8.0";
6
7 duneVersion = "3";
8
9 src = fetchFromGitHub {
10 owner = "savonet";
11 repo = "ocaml-vorbis";
12 rev = "v${version}";
13 hash = "sha256-iCoE7I70wAp4n4XfETVKeaob2811E97/e6144bY/nqk=";
14 };
15
16 buildInputs = [ dune-configurator ];
17 propagatedBuildInputs = [ ogg libvorbis ];
18
19 meta = with lib; {
20 homepage = "https://github.com/savonet/ocaml-vorbis";
21 description = "Bindings to libvorbis";
22 license = licenses.gpl2Only;
23 maintainers = with maintainers; [ dandellion ];
24 };
25}