monitor: 0.14.0 -> 0.15.0

https://github.com/stsdc/monitor/compare/0.14.0...0.15.0
This commit is contained in:
Bobby Rong 2023-01-23 16:50:38 +08:00
parent d7705c01ef
commit 6e873de5b8
No known key found for this signature in database

View File

@ -8,9 +8,11 @@
, pkg-config
, pantheon
, python3
, curl
, gettext
, glib
, gtk3
, json-glib
, libwnck
, libgee
, libgtop
@ -25,13 +27,13 @@
stdenv.mkDerivation rec {
pname = "monitor";
version = "0.14.0";
version = "0.15.0";
src = fetchFromGitHub {
owner = "stsdc";
repo = "monitor";
rev = version;
sha256 = "sha256-dw1FR9nU8MY6LBL3sF942azeSgKmCntXCk4+nhMb4Wo=";
sha256 = "sha256-w4c9rVO54mrjUX2iRxUQ7PHqE+8D+BqBgHMK2X9nI0g=";
fetchSubmodules = true;
};
@ -46,8 +48,10 @@ stdenv.mkDerivation rec {
];
buildInputs = [
curl
glib
gtk3
json-glib
pantheon.granite
pantheon.wingpanel
libgee
@ -72,6 +76,11 @@ stdenv.mkDerivation rec {
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
# Alternatively, using pkg-config here should just work.
substituteInPlace meson.build --replace \
"meson.get_compiler('c').find_library('libcurl', dirs: vapidir)" \
"meson.get_compiler('c').find_library('libcurl', dirs: '${curl.out}/lib')"
'';
passthru = {