ocamlPackages.biniou: 1.2.1 → 1.2.2 (#208852)

Co-authored-by: Et7f3 <cadeaudeelie@gmail.com>
This commit is contained in:
Vincent Laporte 2023-01-10 00:37:56 +01:00 committed by GitHub
parent 593d558f05
commit 9ad7623ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,29 +1,21 @@
{ lib, fetchFromGitHub, buildDunePackage, easy-format }:
{ lib, fetchurl, buildDunePackage, camlp-streams, easy-format }:
buildDunePackage rec {
pname = "biniou";
version = "1.2.1";
version = "1.2.2";
useDune2 = true;
src = fetchFromGitHub {
owner = "ocaml-community";
repo = pname;
rev = version;
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
src = fetchurl {
url = "https://github.com/ocaml-community/biniou/releases/download/${version}/biniou-${version}.tbz";
hash = "sha256-i/P/F80Oyy1rbR2UywjvCJ1Eyu+W6brmvmg51Cj6MY8=";
};
propagatedBuildInputs = [ easy-format ];
propagatedBuildInputs = [ camlp-streams easy-format ];
strictDeps = true;
postPatch = ''
patchShebangs .
'';
meta = {
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
inherit (src.meta) homepage;
homepage = "https://github.com/ocaml-community/biniou";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "bdump";