2021-01-15 22:18:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, easy-format }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biniou";
|
|
|
|
version = "1.2.1";
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-community";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ easy-format ];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
|
2022-05-18 14:49:53 +00:00
|
|
|
inherit (src.meta) homepage;
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2022-05-18 14:49:53 +00:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
mainProgram = "bdump";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|