Merge pull request #234141 from adsr/mle_bump

mle: 1.5.0 -> 1.7.2

authored by Weijia Wang and committed by GitHub 3803f9bd 0fa0e246

+4 -23
+4 -23
pkgs/applications/editors/mle/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchpatch 5 - , pcre 4 + , pcre2 6 5 , uthash 7 6 , lua5_4 8 7 , makeWrapper ··· 11 10 12 11 stdenv.mkDerivation rec { 13 12 pname = "mle"; 14 - version = "1.5.0"; 13 + version = "1.7.2"; 15 14 16 15 src = fetchFromGitHub { 17 16 owner = "adsr"; 18 17 repo = "mle"; 19 18 rev = "v${version}"; 20 - sha256 = "1nhd00lsx9v12zdmps92magz76c2d8zzln3lxvzl4ng73gbvq3n0"; 19 + sha256 = "0rkk7mh6w5y1lrbdv7wmxdgl5cqzpzw0p26adazkqlfdyb6wbj9k"; 21 20 }; 22 21 23 - # Bug fixes found after v1.5.0 release 24 - patches = [ 25 - (fetchpatch { 26 - name = "skip_locale_dep_test.patch"; 27 - url = "https://github.com/adsr/mle/commit/e4dc4314b02a324701d9ae9873461d34cce041e5.patch"; 28 - sha256 = "sha256-j3Z/n+2LqB9vEkWzvRVSOrF6yE+hk6f0dvEsTQ74erw="; 29 - }) 30 - (fetchpatch { 31 - name = "fix_input_trail.patch"; 32 - url = "https://github.com/adsr/mle/commit/bc05ec0eee4143d824010c6688fce526550ed508.patch"; 33 - sha256 = "sha256-dM63EBDQfHLAqGZk3C5NtNAv23nCTxXVW8XpLkAeEyQ="; 34 - }) 35 - ]; 36 - 37 22 # Fix location of Lua 5.4 header and library 38 23 postPatch = '' 39 24 substituteInPlace Makefile --replace "-llua5.4" "-llua"; ··· 41 26 patchShebangs tests/* 42 27 ''; 43 28 44 - # Use select(2) instead of poll(2) (poll is returning POLLINVAL on macOS) 45 - # Enable compiler optimization 46 - CFLAGS = "-DTB_OPT_SELECT -O2"; 47 - 48 29 nativeBuildInputs = [ makeWrapper installShellFiles ]; 49 30 50 - buildInputs = [ pcre uthash lua5_4 ]; 31 + buildInputs = [ pcre2 uthash lua5_4 ]; 51 32 52 33 doCheck = true; 53 34