pkgs: add ocaml-manual
This commit is contained in:
parent
80019480c4
commit
17f9a4a758
|
@ -136,6 +136,10 @@ logging for cats, in ocaml: <https://git.lain.faith/haskal/xlog>
|
|||
|
||||
libsystemd implementation in native ocaml: <https://git.lain.faith/haskal/systemd-ml>
|
||||
|
||||
### [`ocamlPackages.ocaml-manual`](./pkgs/ocaml/ocaml-manual)
|
||||
|
||||
the ocaml html docs package from opam
|
||||
|
||||
### [`python312Packages.feedvalidator` or `feedvalidator`](./pkgs/python/feedvalidator)
|
||||
|
||||
the W3C atom/RSS feed validator library, <https://github.com/w3c/feedvalidator>
|
||||
|
|
|
@ -24,6 +24,8 @@ final: prev: {
|
|||
ppx_unicode = ofinal.callPackage ./pkgs/ocaml/ppx_unicode {};
|
||||
xlog = ofinal.callPackage ./pkgs/ocaml/xlog {};
|
||||
systemd-ml = ofinal.callPackage ./pkgs/ocaml/systemd-ml {};
|
||||
|
||||
ocaml-manual = ofinal.callPackage ./pkgs/ocaml/ocaml-manual {};
|
||||
});
|
||||
|
||||
python3Packages = prev.python3Packages.overrideScope (pfinal: pprev: {
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
|
||||
ocaml,
|
||||
|
||||
version ? lib.versions.majorMinor ocaml.version,
|
||||
}: stdenvNoCC.mkDerivation {
|
||||
pname = "ocaml-manual";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://caml.inria.fr/distrib/ocaml-${version}/ocaml-${version}-refman-html.tar.gz";
|
||||
hash = "sha256-NhtwltAJKxG5bwvu4hevK4xv45gRRaLEtNQ9ZW5NyvU=";
|
||||
};
|
||||
|
||||
buildPhase = "";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/doc/ocaml"
|
||||
cp -r . "$out/share/doc/ocaml/."
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue