summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/biniou/default.nix
blob: 2c58a4081401b2c487f382491161f2629e21e9a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, fetchurl, buildDunePackage, camlp-streams, easy-format }:

buildDunePackage rec {
  pname = "biniou";
  version = "1.2.2";

  src = fetchurl {
    url = "https://github.com/ocaml-community/biniou/releases/download/${version}/biniou-${version}.tbz";
    hash = "sha256-i/P/F80Oyy1rbR2UywjvCJ1Eyu+W6brmvmg51Cj6MY8=";
  };

  propagatedBuildInputs = [ camlp-streams easy-format ];

  meta = {
    description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
    homepage = "https://github.com/ocaml-community/biniou";
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.vbgl ];
    mainProgram = "bdump";
  };
}