depot/third_party/nixpkgs/pkgs/development/ocaml-modules/biniou/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

23 lines
717 B
Nix

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