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