ocamlPackages.gettext: use Dune 2
This commit is contained in:
parent
0357225e16
commit
0b6201180e
@ -6,6 +6,8 @@ buildDunePackage rec {
|
|||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
|
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
|
||||||
sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";
|
sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
{ lib, buildDunePackage, ocaml_gettext, ounit }:
|
{ buildDunePackage, ocaml_gettext, dune-configurator, ounit }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
|
||||||
pname = "gettext-stub";
|
pname = "gettext-stub";
|
||||||
|
|
||||||
inherit (ocaml_gettext) src version meta;
|
inherit (ocaml_gettext) src version useDune2 meta;
|
||||||
|
|
||||||
|
buildInputs = [ dune-configurator ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ocaml_gettext ];
|
propagatedBuildInputs = [ ocaml_gettext ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
checkInputs = lib.optional doCheck ounit;
|
checkInputs = [ ounit ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user