Merge pull request #61572 from dtzWill/update/termite-15
termite: 15, minor patch follow-up
This commit is contained in:
commit
54b50ba5c3
@ -1,20 +1,26 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, vte-ng, gtk3, ncurses, wrapGAppsHook }:
|
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, vte-ng, gtk3, ncurses, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "termite-${version}";
|
name = "termite-${version}";
|
||||||
version = "14";
|
version = "15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thestinger";
|
owner = "thestinger";
|
||||||
repo = "termite";
|
repo = "termite";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0dmz9rpc2fdvcwhcmjnhb48ixn403gxpq03g334d1hgjw2hsyx7x";
|
sha256 = "0hp1x6lj098m3jgna274wv5dv60lnzg22297di68g4hw9djjyd2k";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://github.com/thestinger/termite/pull/516
|
# https://github.com/thestinger/termite/pull/516
|
||||||
patches = [ ./url_regexp_trailing.patch ./add_errno_header.patch
|
patches = [ ./url_regexp_trailing.patch ./add_errno_header.patch
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch;
|
# Fix off-by-one in select_text() on libvte >= 0.55.0
|
||||||
|
# Expected to be included in next release (16).
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/thestinger/termite/commit/7e9a93b421b9596f8980645a46ac2ad5468dac06.patch";
|
||||||
|
sha256 = "0vph2m5919f7w1xnc8i6z0j44clsm1chxkfg7l71nahxyfw5yh4j";
|
||||||
|
})
|
||||||
|
] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch;
|
||||||
|
|
||||||
makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];
|
makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user