2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
|
|
|
, containers, qcheck
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.5";
|
2023-01-11 07:51:40 +00:00
|
|
|
pname = "oseq";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-JMIcRyciNvLOE1Gpin7CpcDNSmGYFxZWsDN0X6D/NVI=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|