ocamlPackages.hxd: init at 0.2.0
This commit is contained in:
parent
1e3e562cdc
commit
0f864eb45b
41
pkgs/development/ocaml-modules/hxd/default.nix
Normal file
41
pkgs/development/ocaml-modules/hxd/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib, buildDunePackage, fetchurl
|
||||||
|
, dune-configurator, cmdliner, angstrom
|
||||||
|
, rresult, stdlib-shims, fmt, fpath
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "hxd";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.06";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/dinosaure/hxd/releases/download/v${version}/hxd-v${version}.tbz";
|
||||||
|
sha256 = "1lyfrq058cc9x0c0hzsf3hv3ys0h8mxkwin9lldidlnj10izqf1l";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
dune-configurator
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
cmdliner
|
||||||
|
angstrom
|
||||||
|
rresult
|
||||||
|
fmt
|
||||||
|
fpath
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
stdlib-shims
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Hexdump in OCaml";
|
||||||
|
homepage = "https://github.com/dinosaure/hxd";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.sternenseemann ];
|
||||||
|
};
|
||||||
|
}
|
@ -361,6 +361,8 @@ let
|
|||||||
|
|
||||||
hmap = callPackage ../development/ocaml-modules/hmap { };
|
hmap = callPackage ../development/ocaml-modules/hmap { };
|
||||||
|
|
||||||
|
hxd = callPackage ../development/ocaml-modules/hxd { };
|
||||||
|
|
||||||
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
||||||
|
|
||||||
imagelib-unix = callPackage ../development/ocaml-modules/imagelib/unix.nix { };
|
imagelib-unix = callPackage ../development/ocaml-modules/imagelib/unix.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user