pantheon.elementary-code: 7.0.0 -> 7.1.0

https://github.com/elementary/code/releases/tag/7.1.0
This commit is contained in:
Bobby Rong 2023-08-02 21:03:43 +08:00
parent d309780fe8
commit 2dd5cccb11
No known key found for this signature in database

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, appstream
, desktop-file-utils
@ -9,7 +8,6 @@
, ninja
, pkg-config
, polkit
, python3
, vala
, wrapGAppsHook
, editorconfig-core-c
@ -28,24 +26,15 @@
stdenv.mkDerivation rec {
pname = "elementary-code";
version = "7.0.0";
version = "7.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "code";
rev = version;
sha256 = "sha256-6ZOdlOCIDy5aWQre15+SrTH/vhY9OeTffY/uTSroELc=";
sha256 = "sha256-Dtm0+NqDwfn5HUQEYtHTiyrpM3mHp1wUFOGaxH86YUo=";
};
patches = [
# Fix global search action disabled at startup
# https://github.com/elementary/code/pull/1254
(fetchpatch {
url = "https://github.com/elementary/code/commit/1e75388b07c060cc10ecd612076f235b1833fab8.patch";
sha256 = "sha256-8Djh1orMcmICdYwQFENJCaYlXK0E52NhCmuhlHCz7oM=";
})
];
nativeBuildInputs = [
appstream
desktop-file-utils
@ -53,7 +42,6 @@ stdenv.mkDerivation rec {
ninja
pkg-config
polkit # needed for ITS rules
python3
vala
wrapGAppsHook
];
@ -79,11 +67,6 @@ stdenv.mkDerivation rec {
)
'';
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};