From 9117f1dca99418fb838eee70da45898494f452bf Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 21 Nov 2025 06:41:16 +0100 Subject: [PATCH] ocamlPackages.bheap: small cleaning --- .../ocaml-modules/bheap/default.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/pkgs/development/ocaml-modules/bheap/default.nix b/pkgs/development/ocaml-modules/bheap/default.nix index 255aa62b7a5e..aff7ae9679fb 100644 --- a/pkgs/development/ocaml-modules/bheap/default.nix +++ b/pkgs/development/ocaml-modules/bheap/default.nix @@ -5,26 +5,24 @@ stdlib-shims, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bheap"; version = "2.0.0"; src = fetchurl { - url = "https://github.com/backtracking/${pname}/releases/download/${version}/${pname}-${version}.tbz"; - sha256 = "0dpnpla20lgiicrxl2432m2fcr6y68msw3pnjxqb11xw6yrdfhsz"; + url = "https://github.com/backtracking/bheap/releases/download/${finalAttrs.version}/bheap-${finalAttrs.version}.tbz"; + hash = "sha256-X0PXsje8h7Bwl/YOrisy3mTmRBWDCNozi/FRIBS99jY="; }; - useDune2 = true; - doCheck = true; checkInputs = [ stdlib-shims ]; - meta = with lib; { - description = "OCaml binary heap implementation by Jean-Christophe Filliatre"; - license = licenses.lgpl21Only; - maintainers = [ maintainers.sternenseemann ]; + meta = { + description = "OCaml binary heap implementation by Jean-Christophe Filliâtre"; + license = lib.licenses.lgpl21Only; + maintainers = [ lib.maintainers.sternenseemann ]; homepage = "https://github.com/backtracking/bheap"; }; -} +})