summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-01-10 11:19:31 +0100
committerGitHub <noreply@github.com>2023-01-10 11:19:31 +0100
commit54644f409ab471e87014bb305eac8c50190bcf48 (patch)
tree396e8b9a43f1e4b5235c1fe4386234ba5606674b
parent1e7b85541201c8fdaa0b3cfe968c3d52d5680fac (diff)
[Backport release-22.11] ocamlPackages.biniou: 1.2.1 → 1.2.2 (#209969)
(cherry picked from commit 9ad7623ebe76c952ee283ec83690bb22ca7cb625)
-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";