Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 678 B view raw
1{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ppxlib }: 2 3buildDunePackage rec { 4 pname = "ppx_blob"; 5 version = "0.7.2"; 6 7 duneVersion = "3"; 8 9 src = fetchurl { 10 url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz"; 11 sha256 = "00haz1cmplk3j9ysh6j656zrldy60585fmlndmfhpd5332mxrfdw"; 12 }; 13 14 checkInputs = [ alcotest ]; 15 propagatedBuildInputs = [ ppxlib ]; 16 doCheck = lib.versionAtLeast ocaml.version "4.08"; 17 18 meta = with lib; { 19 homepage = "https://github.com/johnwhitington/ppx_blob"; 20 description = "OCaml ppx to include binary data from a file as a string"; 21 license = licenses.unlicense; 22 }; 23}