summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Laporte <vbgl@users.noreply.github.com>2023-01-10 00:37:56 +0100
committerGitHub <noreply@github.com>2023-01-10 00:37:56 +0100
commit9ad7623ebe76c952ee283ec83690bb22ca7cb625 (patch)
tree27c2f47f47121614852e052bfc1985999518162e
parent593d558f053ba6041d954d6b6c11ef1a6a420e02 (diff)
ocamlPackages.biniou: 1.2.1 → 1.2.2 (#208852)
Co-authored-by: Et7f3 <cadeaudeelie@gmail.com>
-rw-r--r--pkgs/development/ocaml-modules/biniou/default.nix22
1 files changed, 7 insertions, 15 deletions
diff --git a/pkgs/development/ocaml-modules/biniou/default.nix b/pkgs/development/ocaml-modules/biniou/default.nix
index ff3b87699356..22d2b643b279 100644
--- a/pkgs/development/ocaml-modules/biniou/default.nix
+++ b/pkgs/development/ocaml-modules/biniou/default.nix
@@ -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";