nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 802 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7 camlp4, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "ocaml-config-file"; 12 version = "1.2"; 13 14 src = fetchurl { 15 url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz"; 16 sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q"; 17 }; 18 19 nativeBuildInputs = [ 20 ocaml 21 findlib 22 camlp4 23 ]; 24 25 strictDeps = true; 26 27 createFindlibDestdir = true; 28 29 meta = { 30 homepage = "http://config-file.forge.ocamlcore.org/"; 31 platforms = ocaml.meta.platforms or [ ]; 32 description = "OCaml library used to manage the configuration file(s) of an application"; 33 license = lib.licenses.lgpl2Plus; 34 broken = lib.versionAtLeast ocaml.version "5.0"; 35 maintainers = with lib.maintainers; [ vbgl ]; 36 }; 37}