Loading pkgs/development/ocaml-modules/malfunction/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib, fetchzip, buildDunePackage, ocaml, findlib, zarith, cppo, }: buildDunePackage (finalAttrs: { pname = "malfunction"; version = "0.7.1"; src = fetchzip { url = "https://github.com/stedolan/malfunction/archive/refs/tags/v${finalAttrs.version}.tar.gz"; hash = "sha256-Cpe5rSBvsr3pqbucGZelutPoI+bcQPFCbdcKsE/HieY="; }; propagatedBuildInputs = [ findlib zarith ]; nativeBuildInputs = [ cppo ]; meta = { homepage = "http://github.com/stedolan/malfunction"; description = "Malfunction is a high-performance, low-level untyped program representation, designed as a target for compilers of functional programming languages."; license = lib.licenses.lgpl21; maintainers = with lib.maintainers; [ _4ever2 ]; mainProgram = "malfunction"; broken = lib.versionAtLeast ocaml.version "5.4"; }; }) pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1187,6 +1187,8 @@ let cohttp = cohttp_5_3; # due to cohttp_static_handler pulling in cohttp_5_3 }; malfunction = callPackage ../development/ocaml-modules/malfunction { }; mariadb = callPackage ../development/ocaml-modules/mariadb { inherit (pkgs) mariadb; }; Loading Loading
pkgs/development/ocaml-modules/malfunction/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib, fetchzip, buildDunePackage, ocaml, findlib, zarith, cppo, }: buildDunePackage (finalAttrs: { pname = "malfunction"; version = "0.7.1"; src = fetchzip { url = "https://github.com/stedolan/malfunction/archive/refs/tags/v${finalAttrs.version}.tar.gz"; hash = "sha256-Cpe5rSBvsr3pqbucGZelutPoI+bcQPFCbdcKsE/HieY="; }; propagatedBuildInputs = [ findlib zarith ]; nativeBuildInputs = [ cppo ]; meta = { homepage = "http://github.com/stedolan/malfunction"; description = "Malfunction is a high-performance, low-level untyped program representation, designed as a target for compilers of functional programming languages."; license = lib.licenses.lgpl21; maintainers = with lib.maintainers; [ _4ever2 ]; mainProgram = "malfunction"; broken = lib.versionAtLeast ocaml.version "5.4"; }; })
pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1187,6 +1187,8 @@ let cohttp = cohttp_5_3; # due to cohttp_static_handler pulling in cohttp_5_3 }; malfunction = callPackage ../development/ocaml-modules/malfunction { }; mariadb = callPackage ../development/ocaml-modules/mariadb { inherit (pkgs) mariadb; }; Loading