unison: 2.53.5 -> 2.53.7

Diff: https://github.com/bcpierce00/unison/compare/v2.53.5...v2.53.7
(cherry picked from commit ecc593842b)
This commit is contained in:
Yongun Seong 2024-11-15 21:09:31 +09:00 committed by github-actions[bot]
parent 27a14cbd7a
commit 28325a5ad2

View File

@ -11,22 +11,17 @@
stdenv.mkDerivation (finalAttrs: {
pname = "unison";
version = "2.53.5";
version = "2.53.7";
src = fetchFromGitHub {
owner = "bcpierce00";
repo = "unison";
rev = "v${finalAttrs.version}";
hash = "sha256-XCdK38jG7tRI+/Zk72JVY8a/pPJF6KVaf8l2s3hgxLs=";
hash = "sha256-QmYcxzsnbRDQdqkLh82OLWrLF6v3qzf1aOIcnz0kwEk=";
};
strictDeps = true;
# uimac requires xcode
postPatch = ''
sed -i -e 's/ macuimaybe//' src/Makefile
'';
nativeBuildInputs = [ ocamlPackages.ocaml ocamlPackages.findlib ]
++ lib.optionals enableX11 [ copyDesktopItems wrapGAppsHook3 ];
buildInputs = lib.optionals enableX11 [ gsettings-desktop-schemas ocamlPackages.lablgtk3 ];