Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage, camlp-streams, easy-format }:
2
3buildDunePackage rec {
4 pname = "biniou";
5 version = "1.2.2";
6
7 src = fetchurl {
8 url = "https://github.com/ocaml-community/biniou/releases/download/${version}/biniou-${version}.tbz";
9 hash = "sha256-i/P/F80Oyy1rbR2UywjvCJ1Eyu+W6brmvmg51Cj6MY8=";
10 };
11
12 propagatedBuildInputs = [ camlp-streams easy-format ];
13
14 meta = {
15 description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
16 homepage = "https://github.com/ocaml-community/biniou";
17 license = lib.licenses.bsd3;
18 maintainers = [ lib.maintainers.vbgl ];
19 mainProgram = "bdump";
20 };
21}