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 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , fetchpatch 5 - , pcre 6 , uthash 7 , lua5_4 8 , makeWrapper ··· 11 12 stdenv.mkDerivation rec { 13 pname = "mle"; 14 - version = "1.5.0"; 15 16 src = fetchFromGitHub { 17 owner = "adsr"; 18 repo = "mle"; 19 rev = "v${version}"; 20 - sha256 = "1nhd00lsx9v12zdmps92magz76c2d8zzln3lxvzl4ng73gbvq3n0"; 21 }; 22 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 # Fix location of Lua 5.4 header and library 38 postPatch = '' 39 substituteInPlace Makefile --replace "-llua5.4" "-llua"; ··· 41 patchShebangs tests/* 42 ''; 43 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 nativeBuildInputs = [ makeWrapper installShellFiles ]; 49 50 - buildInputs = [ pcre uthash lua5_4 ]; 51 52 doCheck = true; 53
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , pcre2 5 , uthash 6 , lua5_4 7 , makeWrapper ··· 10 11 stdenv.mkDerivation rec { 12 pname = "mle"; 13 + version = "1.7.2"; 14 15 src = fetchFromGitHub { 16 owner = "adsr"; 17 repo = "mle"; 18 rev = "v${version}"; 19 + sha256 = "0rkk7mh6w5y1lrbdv7wmxdgl5cqzpzw0p26adazkqlfdyb6wbj9k"; 20 }; 21 22 # Fix location of Lua 5.4 header and library 23 postPatch = '' 24 substituteInPlace Makefile --replace "-llua5.4" "-llua"; ··· 26 patchShebangs tests/* 27 ''; 28 29 nativeBuildInputs = [ makeWrapper installShellFiles ]; 30 31 + buildInputs = [ pcre2 uthash lua5_4 ]; 32 33 doCheck = true; 34