ocamlPackages.hxd: 0.3.1 -> 0.3.2
https://github.com/dinosaure/hxd/releases/tag/v0.3.2
This commit is contained in:
parent
78d0a0688c
commit
ff494fa028
|
@ -1,26 +1,19 @@
|
||||||
{ lib, buildDunePackage, fetchurl
|
{ lib, buildDunePackage, fetchurl
|
||||||
, ocaml, dune-configurator, cmdliner
|
, dune-configurator, cmdliner
|
||||||
, lwt, withLwt ? lib.versionAtLeast ocaml.version "4.07"
|
, lwt, withLwt ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "hxd";
|
pname = "hxd";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
|
|
||||||
useDune2 = true;
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.06";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/dinosaure/hxd/releases/download/v${version}/hxd-v${version}.tbz";
|
url = "https://github.com/dinosaure/hxd/releases/download/v${version}/hxd-${version}.tbz";
|
||||||
sha256 = "1c226c91e17cd329dec0c287bfd20f36302aa533069ff9c6ced32721f96b29bc";
|
sha256 = "a00290abb8538e79b32ddc22ed9b301b9806bc4c03eb1e5105b14af47dabec9f";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ignore yes stderr output due to trapped SIGPIPE
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's|yes ".\+"|& 2> /dev/null|' test/*.t
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional withLwt lwt;
|
propagatedBuildInputs = lib.optional withLwt lwt;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -519,7 +519,9 @@ let
|
||||||
|
|
||||||
hpack = callPackage ../development/ocaml-modules/hpack { };
|
hpack = callPackage ../development/ocaml-modules/hpack { };
|
||||||
|
|
||||||
hxd = callPackage ../development/ocaml-modules/hxd { };
|
hxd = callPackage ../development/ocaml-modules/hxd {
|
||||||
|
cmdliner = cmdliner_1_1;
|
||||||
|
};
|
||||||
|
|
||||||
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue