ocamlPackages.kcas: 0.6.1 -> 0.7.0

Diff: https://github.com/ocaml-multicore/kcas/compare/0.6.1...0.7.0
Changelog: https://github.com/ocaml-multicore/kcas/releases/tag/0.7.0

ocamlPackages.kcas: add meta.longDescription and meta.changelog
This commit is contained in:
Mutsuha Asada 2025-06-09 08:14:10 +09:00 committed by Vincent Laporte
parent 247c3817d7
commit 1dcba47ef5

View File

@ -5,28 +5,45 @@
domain-local-await,
domain-local-timeout,
alcotest,
multicore-magic,
backoff,
domain_shims,
mdx,
}:
buildDunePackage rec {
pname = "kcas";
version = "0.6.1";
version = "0.7.0";
minimalOCamlVersion = "4.13.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/kcas/releases/download/${version}/kcas-${version}.tbz";
hash = "sha256-u3Z8uAvITRUhOcB2EUYjWtpxIFJMvm2O/kyNr/AELWI=";
hash = "sha256-mo/otnkB79QdyVgLw1sZFfkR/Z/l15cRVfEYPPd6H5E=";
};
propagatedBuildInputs = [
domain-local-await
domain-local-timeout
multicore-magic
backoff
];
doCheck = true;
checkInputs = [ alcotest ];
nativeCheckInputs = [ mdx.bin ];
checkInputs = [
alcotest
domain_shims
mdx
];
meta = {
homepage = "https://github.com/ocaml-multicore/kcas";
description = "STM based on lock-free MCAS";
longDescription = ''
A software transactional memory (STM) implementation based on an atomic lock-free multi-word compare-and-set (MCAS) algorithm enhanced with read-only compare operations and ability to block awaiting for changes.
'';
changelog = "https://raw.githubusercontent.com/ocaml-multicore/kcas/refs/tags/${version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};