nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ocamlPackages.eliom: add indentation

+48 -47
+48 -47
pkgs/development/ocaml-modules/eliom/default.nix
··· 20 20 lib.throwIf (lib.versionAtLeast ocaml.version "5.3") 21 21 "eliom is not available for OCaml ${ocaml.version}" 22 22 23 - buildDunePackage rec { 24 - pname = "eliom"; 25 - version = "11.1.1"; 23 + buildDunePackage 24 + rec { 25 + pname = "eliom"; 26 + version = "11.1.1"; 26 27 27 - src = fetchFromGitHub { 28 - owner = "ocsigen"; 29 - repo = "eliom"; 30 - rev = version; 31 - hash = "sha256-ALuoyO6axNQEeBteBVIFwdoSrbLxxcaSTObAcLPGIvo="; 32 - }; 28 + src = fetchFromGitHub { 29 + owner = "ocsigen"; 30 + repo = "eliom"; 31 + rev = version; 32 + hash = "sha256-ALuoyO6axNQEeBteBVIFwdoSrbLxxcaSTObAcLPGIvo="; 33 + }; 33 34 34 - nativeBuildInputs = [ 35 - which 36 - ]; 37 - buildInputs = [ 38 - js_of_ocaml-ocamlbuild 39 - js_of_ocaml-ppx_deriving_json 40 - ppx_optcomp 41 - ]; 35 + nativeBuildInputs = [ 36 + which 37 + ]; 38 + buildInputs = [ 39 + js_of_ocaml-ocamlbuild 40 + js_of_ocaml-ppx_deriving_json 41 + ppx_optcomp 42 + ]; 42 43 43 - propagatedBuildInputs = [ 44 - js_of_ocaml-lwt 45 - js_of_ocaml-ppx 46 - js_of_ocaml-tyxml 47 - lwt_ppx 48 - lwt_react 49 - ocsigen_server 50 - ocsipersist 51 - ppx_deriving 52 - ]; 44 + propagatedBuildInputs = [ 45 + js_of_ocaml-lwt 46 + js_of_ocaml-ppx 47 + js_of_ocaml-tyxml 48 + lwt_ppx 49 + lwt_react 50 + ocsigen_server 51 + ocsipersist 52 + ppx_deriving 53 + ]; 53 54 54 - strictDeps = true; 55 + strictDeps = true; 55 56 56 - setupHook = [ ./setup-hook.sh ]; 57 + setupHook = [ ./setup-hook.sh ]; 57 58 58 - meta = { 59 - homepage = "http://ocsigen.org/eliom/"; 60 - description = "OCaml Framework for programming Web sites and client/server Web applications"; 59 + meta = { 60 + homepage = "http://ocsigen.org/eliom/"; 61 + description = "OCaml Framework for programming Web sites and client/server Web applications"; 61 62 62 - longDescription = '' 63 - Eliom is a framework for programming Web sites 64 - and client/server Web applications. It introduces new concepts to 65 - simplify programming common behaviours and uses advanced static 66 - typing features of OCaml to check many properties of the Web site 67 - at compile time. If you want to write a Web application, Eliom 68 - makes possible to write the whole application as a single program 69 - (client and server parts). A syntax extension is used to 70 - distinguish both parts and the client side is compiled to JS using 71 - Ocsigen Js_of_ocaml. 72 - ''; 63 + longDescription = '' 64 + Eliom is a framework for programming Web sites 65 + and client/server Web applications. It introduces new concepts to 66 + simplify programming common behaviours and uses advanced static 67 + typing features of OCaml to check many properties of the Web site 68 + at compile time. If you want to write a Web application, Eliom 69 + makes possible to write the whole application as a single program 70 + (client and server parts). A syntax extension is used to 71 + distinguish both parts and the client side is compiled to JS using 72 + Ocsigen Js_of_ocaml. 73 + ''; 73 74 74 - license = lib.licenses.lgpl21; 75 + license = lib.licenses.lgpl21; 75 76 76 - maintainers = [ lib.maintainers.gal_bolle ]; 77 - }; 78 - } 77 + maintainers = [ lib.maintainers.gal_bolle ]; 78 + }; 79 + }