ocaml-crunch: init at 3.1.0
This commit is contained in:
parent
7ac75c70f2
commit
7132e6b573
28
pkgs/development/tools/ocaml/crunch/default.nix
Normal file
28
pkgs/development/tools/ocaml/crunch/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, buildDunePackage, fetchurl, ocaml, cmdliner, opaline, ptime }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
|
||||||
|
pname = "crunch";
|
||||||
|
version = "3.1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mirage/ocaml-crunch/releases/download/v${version}/crunch-v${version}.tbz";
|
||||||
|
sha256 = "0d26715a4h9r1wibnc12xy690m1kan7hrcgbb5qk8x78zsr67lnf";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cmdliner ptime ];
|
||||||
|
|
||||||
|
outputs = [ "lib" "bin" "out" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
${opaline}/bin/opaline -prefix $bin -libdir $lib/lib/ocaml/${ocaml.version}/site-lib/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/mirage/ocaml-crunch";
|
||||||
|
description = "Convert a filesystem into a static OCaml module";
|
||||||
|
license = lib.licenses.isc;
|
||||||
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -8569,6 +8569,8 @@ in
|
|||||||
|
|
||||||
ocamlPackages = recurseIntoAttrs ocaml-ng.ocamlPackages;
|
ocamlPackages = recurseIntoAttrs ocaml-ng.ocamlPackages;
|
||||||
|
|
||||||
|
ocaml-crunch = ocamlPackages.crunch.bin;
|
||||||
|
|
||||||
ocamlformat = callPackage ../development/tools/ocaml/ocamlformat { };
|
ocamlformat = callPackage ../development/tools/ocaml/ocamlformat { };
|
||||||
|
|
||||||
orc = callPackage ../development/compilers/orc { };
|
orc = callPackage ../development/compilers/orc { };
|
||||||
|
@ -185,6 +185,8 @@ let
|
|||||||
|
|
||||||
cpuid = callPackage ../development/ocaml-modules/cpuid { };
|
cpuid = callPackage ../development/ocaml-modules/cpuid { };
|
||||||
|
|
||||||
|
crunch = callPackage ../development/tools/ocaml/crunch { };
|
||||||
|
|
||||||
cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
|
cryptokit = callPackage ../development/ocaml-modules/cryptokit { };
|
||||||
|
|
||||||
cstruct =
|
cstruct =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user