Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 616 B view raw
1{ lib, buildDunePackage, fetchFromGitHub 2, ctypes, integers 3}: 4 5buildDunePackage rec { 6 pname = "posix-base"; 7 version = "2.0.2"; 8 9 src = fetchFromGitHub { 10 owner = "savonet"; 11 repo = "ocaml-posix"; 12 rev = "v${version}"; 13 hash = "sha256-xxNaPJZdcW+KnT7rYUuC7ZgmHtXTppZG2BOmpKweC/U="; 14 }; 15 16 duneVersion = "3"; 17 minimalOCamlVersion = "4.08"; 18 19 propagatedBuildInputs = [ ctypes integers ]; 20 21 meta = { 22 homepage = "https://www.liquidsoap.info/ocaml-posix/"; 23 description = "Base module for the posix bindings"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.vbgl ]; 26 }; 27}