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