Merge pull request #231256 from vbgl/ocaml-zed-dune3

ocamlPackages.{zed,charInfo_width}: use Dune 3
This commit is contained in:
Ulrik Strid 2023-05-11 13:14:52 +02:00 committed by GitHub
commit 3cb5bc287d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
buildDunePackage rec {
pname = "charInfo_width";
version = "1.1.0";
useDune2 = true;
duneVersion = "3";
src = fetchzip {
url = "https://bitbucket.org/zandoye/charinfo_width/get/${version}.tar.bz2";
sha256 = "19mnq9a1yr16srqs8n6hddahr4f9d2gbpmld62pvlw1ps7nfrp9w";

View file

@ -7,14 +7,12 @@ let
{
version = "3.2.0";
sha256 = "sha256-6yKHE30nVFXo8hGdCx+GO4VYYGbi802aMdN2XuYMJ7w=";
duneVersion = "3";
propagatedBuildInputs = [ react result uchar uutf uucp uuseg ];
}
else
{
version = "3.1.0";
sha256 = "04vr1a94imsghm98iigc35rhifsz0rh3qz2qm0wam2wvp6vmrx0p";
duneVersion = "2";
propagatedBuildInputs = [ charInfo_width react ];
};
in
@ -22,7 +20,9 @@ in
buildDunePackage rec {
pname = "zed";
inherit (switch) version duneVersion propagatedBuildInputs;
inherit (switch) version propagatedBuildInputs;
duneVersion = "3";
src = fetchFromGitHub {
owner = "ocaml-community";