Merge pull request #212230 from bobby285271/upd/monitor

monitor: 0.14.0 -> 0.15.0
This commit is contained in:
Bobby Rong 2023-01-24 10:56:15 +08:00 committed by GitHub
commit 836b0d2fab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {