ocamlPackages.gettext: use Dune 2

wip/yesman
Vincent Laporte 3 years ago
parent 0357225e16
commit 0b6201180e
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
  1. 2
      pkgs/development/ocaml-modules/ocaml-gettext/default.nix
  2. 8
      pkgs/development/ocaml-modules/ocaml-gettext/stub.nix

@ -6,6 +6,8 @@ buildDunePackage rec {
minimumOCamlVersion = "4.03";
useDune2 = true;
src = fetchurl {
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";

@ -1,14 +1,16 @@
{ lib, buildDunePackage, ocaml_gettext, ounit }:
{ buildDunePackage, ocaml_gettext, dune-configurator, ounit }:
buildDunePackage rec {
pname = "gettext-stub";
inherit (ocaml_gettext) src version meta;
inherit (ocaml_gettext) src version useDune2 meta;
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ocaml_gettext ];
doCheck = true;
checkInputs = lib.optional doCheck ounit;
checkInputs = [ ounit ];
}

Loading…
Cancel
Save