pantheon.elementary-terminal: 6.0.0 -> 6.0.1

This commit is contained in:
Bobby Rong 2021-12-14 09:43:46 +08:00
parent 3977638aaa
commit 46605c6305
No known key found for this signature in database
GPG Key ID: ED07364437C91161

@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
, pkg-config
, meson
, ninja
@ -24,30 +23,13 @@
stdenv.mkDerivation rec {
pname = "elementary-terminal";
version = "6.0.0";
repoName = "terminal";
version = "6.0.1";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
repo = "terminal";
rev = version;
sha256 = "08akr4sv4jy9kd4s26kib6j7i8hc3vs0sp71fifv7ww4mi9cm6jc";
};
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/terminal/pull/611
(fetchpatch {
url = "https://github.com/elementary/terminal/commit/4f6f2d9f58642ed904240c247cc0a0846baecb6b.patch";
sha256 = "04pbd72migxw8i949v3bmw8kfi5nr02rjcwfrx3b6xkiic9825sv";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
sha256 = "sha256-4q7YQ4LxuiM/TRae1cc3ncmw7QwE1soC2Sh+GZ+Gpq0=";
};
nativeBuildInputs = [
@ -81,6 +63,12 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Terminal emulator designed for elementary OS";
longDescription = ''