nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 661 B view raw
1{ 2 lib, 3 ocaml, 4 buildDunePackage, 5 fetchurl, 6 ounit2, 7}: 8 9buildDunePackage (finalAttrs: { 10 pname = "ocamlmod"; 11 version = "0.1.1"; 12 13 minimalOCamlVersion = "4.03"; 14 15 src = fetchurl { 16 url = "https://github.com/gildor478/ocamlmod/releases/download/v${finalAttrs.version}/ocamlmod-${finalAttrs.version}.tbz"; 17 hash = "sha256-qMG+y/iS+L4qtKiJX01pTTAdQuGLoIA+so1fqY9bm8o="; 18 }; 19 20 doCheck = lib.versionAtLeast ocaml.version "4.08"; 21 checkInputs = [ ounit2 ]; 22 23 dontStrip = true; 24 25 meta = { 26 homepage = "https://github.com/gildor478/ocamlmod"; 27 description = "Generate OCaml modules from source files"; 28 mainProgram = "ocamlmod"; 29 }; 30})