ocamlPackages.checkseum: 0.4.0 → 0.5.2

This commit is contained in:
Vincent Laporte 2023-09-26 08:03:48 +02:00 committed by Vincent Laporte
parent cbe1e97e3d
commit 8121c7a31c

View File

@ -1,28 +1,22 @@
{ lib, fetchurl, buildDunePackage, ocaml, dune-configurator, pkg-config { lib, fetchurl, buildDunePackage, ocaml, dune-configurator
, optint , optint
, fmt, rresult, bos, fpath, astring, alcotest , fmt, rresult, bos, fpath, astring, alcotest
, withFreestanding ? false
, ocaml-freestanding
}: }:
buildDunePackage rec { buildDunePackage rec {
version = "0.4.0"; version = "0.5.2";
pname = "checkseum"; pname = "checkseum";
minimalOCamlVersion = "4.07"; minimalOCamlVersion = "4.07";
duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/checkseum/releases/download/v${version}/checkseum-${version}.tbz"; url = "https://github.com/mirage/checkseum/releases/download/v${version}/checkseum-${version}.tbz";
hash = "sha256-K6QPMts5+hxH2a+WQ1N0lwMBoshG2T0bSozNgzRvAlo="; hash = "sha256-nl5P1EBctKi03wCHdUMlGDPgimSZ70LMuNulgt8Nr8g=";
}; };
buildInputs = [ dune-configurator ]; buildInputs = [ dune-configurator ];
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ propagatedBuildInputs = [
optint optint
] ++ lib.optionals withFreestanding [
ocaml-freestanding
]; ];
checkInputs = [ checkInputs = [