2021-01-11 13:49:15 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, easy-format }:
|
2014-09-21 12:02:55 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biniou";
|
2019-11-27 10:24:00 +01:00
|
|
|
version = "1.2.1";
|
2018-11-05 11:21:46 +01:00
|
|
|
|
2021-03-04 22:00:10 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
src = fetchFromGitHub {
|
2019-11-27 10:24:00 +01:00
|
|
|
owner = "ocaml-community";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2019-11-27 10:24:00 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
|
2018-03-01 17:48:10 +01:00
|
|
|
};
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
propagatedBuildInputs = [ easy-format ];
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
meta = {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
|
2021-01-11 13:49:15 +01:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
license = lib.licenses.bsd3;
|
2018-03-01 17:48:10 +01:00
|
|
|
};
|
2014-07-03 11:09:47 +02:00
|
|
|
}
|