2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
|
|
|
, containers, qcheck
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.5.1";
|
2023-01-11 07:51:40 +00:00
|
|
|
pname = "oseq";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-fyr/OKlvvHBfovtdubSW4rd4OwQbMLKWXghyU3uBy/k=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-01-11 07:51:40 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
containers
|
|
|
|
qcheck
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://c-cube.github.io/oseq/";
|
|
|
|
description = "Purely functional iterators compatible with standard `seq`";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|