Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 726 B view raw
1{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, pgocaml, camlp4 }: 2 3stdenv.mkDerivation rec { 4 pname = "ocaml-macaque"; 5 version = "0.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "ocsigen"; 9 repo = "macaque"; 10 rev = version; 11 sha256 = "sha256-W9ZFaINYYtIikKy/ZqdlKeFQSA7DQT9plc3+ZhlSIJI="; 12 }; 13 14 nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ]; 15 propagatedBuildInputs = [ pgocaml camlp4 ]; 16 17 strictDeps = true; 18 19 createFindlibDestdir = true; 20 21 meta = with lib; { 22 description = "Macros for Caml Queries"; 23 homepage = "https://github.com/ocsigen/macaque"; 24 license = licenses.lgpl2; 25 platforms = ocaml.meta.platforms or [ ]; 26 maintainers = with maintainers; [ vbgl ]; 27 }; 28}