pantheon.elementary-code: 3.4.1 -> 6.0.0

This commit is contained in:
Bobby Rong 2021-07-16 10:54:12 +08:00
parent d3ebf3bfa1
commit 59b2fe6adc

View file

@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pantheon
, pkg-config
@ -12,11 +11,12 @@
, gtk3
, granite
, libgee
, libhandy
, elementary-icon-theme
, appstream
, libpeas
, editorconfig-core-c
, gtksourceview3
, gtksourceview4
, gtkspell3
, libsoup
, vte
@ -25,11 +25,12 @@
, ctags
, libgit2-glib
, wrapGAppsHook
, polkit
}:
stdenv.mkDerivation rec {
pname = "elementary-code";
version = "3.4.1";
version = "6.0.0";
repoName = "code";
@ -37,17 +38,9 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "sha256-4AEayj+K/lOW6jEYmvmdan1kTqqqLL1YzwcU7/3PH5U=";
sha256 = "1w1m52mq3zr9alkxk1c0s4ncscka1km5ppd0r6zm86qan9cjwq0f";
};
patches = [
# Fix build with latest Vala.
(fetchpatch {
url = "https://github.com/elementary/code/commit/c50580d3336296823da9a2c50b824f21fde50286.patch";
sha256 = "F+ZYlnZWYCU68G4oayLfbTnvSnTb4YA0zHVGD/Uf3KA=";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
@ -60,6 +53,10 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
# polkit is needed for ITS rules
polkit
python3
vala
wrapGAppsHook
@ -71,10 +68,11 @@ stdenv.mkDerivation rec {
elementary-icon-theme
granite
gtk3
gtksourceview3
gtksourceview4
gtkspell3
libgee
libgit2-glib
libhandy
libpeas
libsoup
vte