Merge pull request #318230 from bobby285271/upd/capnet-assist

pantheon.elementary-capnet-assist: 2.4.4 -> 8.0.0
This commit is contained in:
Bobby Rong 2024-06-09 13:43:05 +08:00 committed by GitHub
commit d104d10c32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,54 +4,45 @@
, nix-update-script
, pkg-config
, meson
, python3
, ninja
, vala
, desktop-file-utils
, gtk3
, granite
, gtk4
, granite7
, libadwaita
, libgee
, libhandy
, gcr
, webkitgtk_4_1
, wrapGAppsHook3
, gcr_4
, webkitgtk_6_0
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "elementary-capnet-assist";
version = "2.4.4";
version = "8.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "capnet-assist";
rev = version;
sha256 = "sha256-vnFrGHt/rtrDmXokYRoebVpNLfkZPe5IShRsXCWWsXs=";
sha256 = "sha256-xYywiI8hFjS7ODEhLGVwrlAY8I0pvUHfg6UkDhUsglU=";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
python3
vala
wrapGAppsHook3
wrapGAppsHook4
];
buildInputs = [
gcr
granite
gtk3
gcr_4
granite7
gtk4
libadwaita
libgee
libhandy
webkitgtk_4_1
webkitgtk_6_0
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};