ocamlPackages.functoria: init at 2.0.2
Functoria is a DSL to describe a set of modules and functors, their types and how to apply them in order to produce a complete application. Homepage: https://github.com/mirage/functoria
This commit is contained in:
parent
2eb48daa94
commit
cc012b227f
27
pkgs/development/ocaml-modules/functoria/default.nix
Normal file
27
pkgs/development/ocaml-modules/functoria/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||||
|
, bos, cmdliner, ocamlgraph
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-functoria-${version}";
|
||||||
|
version = "2.0.2";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://github.com/mirage/functoria/releases/download/${version}/functoria-${version}.tbz";
|
||||||
|
sha256 = "019rl4rir4lwgjyqj2wq3ylw4daih1kxxgbc6ld6kzcq66mwr747";
|
||||||
|
};
|
||||||
|
|
||||||
|
unpackCmd = "tar xjf $src";
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ocamlbuild opam topkg ];
|
||||||
|
propagatedBuildInputs = [ bos cmdliner ocamlgraph ];
|
||||||
|
|
||||||
|
inherit (topkg) buildPhase installPhase;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A DSL to organize functor applications";
|
||||||
|
homepage = https://github.com/mirage/functoria;
|
||||||
|
license = stdenv.lib.licenses.isc;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -198,6 +198,8 @@ let
|
|||||||
|
|
||||||
fpath = callPackage ../development/ocaml-modules/fpath { };
|
fpath = callPackage ../development/ocaml-modules/fpath { };
|
||||||
|
|
||||||
|
functoria = callPackage ../development/ocaml-modules/functoria { };
|
||||||
|
|
||||||
functory = callPackage ../development/ocaml-modules/functory { };
|
functory = callPackage ../development/ocaml-modules/functory { };
|
||||||
|
|
||||||
gen = callPackage ../development/ocaml-modules/gen { };
|
gen = callPackage ../development/ocaml-modules/gen { };
|
||||||
|
Loading…
Reference in New Issue
Block a user