summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/biniou/default.nix
blob: 22d2b643b279b95f22322bbb022b0c1b5998b803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 ];

  strictDeps = true;

  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";
  };
}