Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 containers, 6 qcheck, 7}: 8 9buildDunePackage rec { 10 version = "0.5.1"; 11 pname = "oseq"; 12 13 src = fetchFromGitHub { 14 owner = "c-cube"; 15 repo = pname; 16 rev = "v${version}"; 17 hash = "sha256-fyr/OKlvvHBfovtdubSW4rd4OwQbMLKWXghyU3uBy/k="; 18 }; 19 20 minimalOCamlVersion = "4.08"; 21 duneVersion = "3"; 22 23 doCheck = true; 24 checkInputs = [ 25 containers 26 qcheck 27 ]; 28 29 meta = { 30 homepage = "https://c-cube.github.io/oseq/"; 31 description = "Purely functional iterators compatible with standard `seq`"; 32 license = lib.licenses.bsd2; 33 maintainers = [ lib.maintainers.vbgl ]; 34 }; 35}