pantheon.elementary-calculator: 2.0.1 -> 2.0.2
https://github.com/elementary/calculator/releases/tag/2.0.2
This commit is contained in:
parent
cc12b195fc
commit
6912f855c6
@ -8,6 +8,8 @@
|
||||
, python3
|
||||
, vala
|
||||
, wrapGAppsHook4
|
||||
, elementary-gtk-theme
|
||||
, elementary-icon-theme
|
||||
, granite7
|
||||
, gtk4
|
||||
, libgee
|
||||
@ -15,13 +17,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-calculator";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "calculator";
|
||||
rev = version;
|
||||
sha256 = "sha256-7aKJDlpODIysrHtqtD5wfd+dULFpD+LfWsjzg3OAxkY=";
|
||||
sha256 = "sha256-PLdPu43ns03vhBwaGw4BWCLNvcJbhUA+5Gr5b//TqfA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -34,6 +36,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
elementary-icon-theme
|
||||
granite7
|
||||
gtk4
|
||||
libgee
|
||||
@ -44,6 +47,15 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs meson/post_install.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# The GTK theme is hardcoded.
|
||||
--prefix XDG_DATA_DIRS : "${elementary-gtk-theme}/share"
|
||||
# The icon theme is hardcoded.
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
|
||||
)
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user