ocamlPackages.domain-local-await: 0.2.0 → 0.2.1

Also doCheck, to run tests
This commit is contained in:
toastal 2023-06-21 17:37:59 +07:00 committed by Vincent Laporte
parent 826f484b8d
commit 3ae20aa58a

View file

@ -1,22 +1,31 @@
{ lib { lib
, buildDunePackage , buildDunePackage
, fetchurl , fetchurl
, alcotest
, mdx , mdx
, thread-table
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "domain-local-await"; pname = "domain-local-await";
version = "0.2.0"; version = "0.2.1";
minimalOCamlVersion = "5.0"; minimalOCamlVersion = "5.0";
duneVersion = "3"; duneVersion = "3";
src = fetchurl { src = fetchurl {
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz"; url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "2DCJsI3nGPtbXnU8jRvzR1iNAkNuekVy4Lid1qnHXDo="; sha256 = "LQxshVpk9EnO2adGXBamF8Hw8CVTAzJ7W4yKIkSmLm4=";
}; };
propagatedBuildInputs = [
thread-table
];
doCheck = true;
checkInputs = [ checkInputs = [
alcotest
mdx mdx
]; ];