mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ocaml-ppx_tools: init at 0.99.2
Tools for authors of ppx rewriters Homepage: https://github.com/alainfrisch/ppx_tools
This commit is contained in:
parent
c0a963e3cc
commit
62a7ba20c1
21
pkgs/development/ocaml-modules/ppx_tools/default.nix
Normal file
21
pkgs/development/ocaml-modules/ppx_tools/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchzip, ocaml, findlib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-ppx_tools-0.99.2";
|
||||
src = fetchzip {
|
||||
url = https://github.com/alainfrisch/ppx_tools/archive/ppx_tools_0.99.2.tar.gz;
|
||||
sha256 = "1m09r2sjcb37i4dyhpbk9n2wxkcvpib6bvairsird91fm9w0vqw7";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tools for authors of ppx rewriters";
|
||||
homepage = http://www.lexifi.com/ppx_tools;
|
||||
license = licenses.mit;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -4624,6 +4624,11 @@ let
|
||||
|
||||
pprint = callPackage ../development/ocaml-modules/pprint { };
|
||||
|
||||
ppx_tools =
|
||||
if lib.versionAtLeast ocaml_version "4.02"
|
||||
then callPackage ../development/ocaml-modules/ppx_tools {}
|
||||
else null;
|
||||
|
||||
pycaml = callPackage ../development/ocaml-modules/pycaml { };
|
||||
|
||||
qcheck = callPackage ../development/ocaml-modules/qcheck {
|
||||
|
Loading…
Reference in New Issue
Block a user