|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
{ lib, stdenv |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, fetchpatch |
|
|
|
|
, nix-update-script |
|
|
|
|
, pantheon |
|
|
|
|
, pkg-config |
|
|
|
@ -41,6 +42,15 @@ stdenv.mkDerivation rec { |
|
|
|
|
sha256 = "1w1m52mq3zr9alkxk1c0s4ncscka1km5ppd0r6zm86qan9cjwq0f"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
# Upstream code not respecting our localedir |
|
|
|
|
# https://github.com/elementary/code/pull/1090 |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://github.com/elementary/code/commit/88dc40d7bbcc2288ada6673eb8f4fab345d97882.patch"; |
|
|
|
|
sha256 = "16y20bvslcm390irlib759703lvf7w6rz4xzaiazjj1r1njwinvv"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
passthru = { |
|
|
|
|
updateScript = nix-update-script { |
|
|
|
|
attrPath = "pantheon.${pname}"; |
|
|
|
@ -53,10 +63,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
meson |
|
|
|
|
ninja |
|
|
|
|
pkg-config |
|
|
|
|
|
|
|
|
|
# polkit is needed for ITS rules |
|
|
|
|
polkit |
|
|
|
|
|
|
|
|
|
polkit # needed for ITS rules |
|
|
|
|
python3 |
|
|
|
|
vala |
|
|
|
|
wrapGAppsHook |
|
|
|
|