Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 dune-configurator, 6 libao, 7}: 8 9buildDunePackage rec { 10 pname = "ao"; 11 version = "0.2.4"; 12 13 src = fetchFromGitHub { 14 owner = "savonet"; 15 repo = "ocaml-ao"; 16 rev = "v${version}"; 17 sha256 = "sha256-HhJdb4i9B4gz3emgDCDT4riQuAsY4uP/47biu7EZ+sk="; 18 }; 19 20 buildInputs = [ dune-configurator ]; 21 propagatedBuildInputs = [ libao ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/savonet/ocaml-ao"; 25 description = "OCaml bindings for libao"; 26 license = licenses.lgpl21Plus; 27 maintainers = with maintainers; [ dandellion ]; 28 }; 29}