mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ocamlPackages.gettext: use Dune 2
This commit is contained in:
parent
0357225e16
commit
0b6201180e
@ -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…
Reference in New Issue
Block a user