cinnamon.xapps: 2.2.8 -> 2.2.14

This commit is contained in:
Bobby Rong 2022-07-17 23:06:27 +08:00
parent d25252822f
commit 3d6db4a823
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,4 +1,5 @@
{ fetchFromGitHub
, fetchpatch
, glib
, gobject-introspection
, gtk3
@ -22,22 +23,26 @@
stdenv.mkDerivation rec {
pname = "xapps";
version = "2.2.8";
version = "2.2.14";
outputs = [ "out" "dev" ];
patches = [
# Add missing gio-unix-2.0 dependency, can be removed on next update
# https://github.com/linuxmint/xapp/pull/156
(fetchpatch {
url = "https://github.com/linuxmint/xapp/commit/052081f75d1c1212aeb6a913772723c81607bcb3.patch";
sha256 = "sha256-VL70Y1FIa7lQ/zKjEx0GhaU1QRu4z6Yu400/bDbgZgM=";
})
];
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-70troRGklu5xGjBIrGvshcOX/UT96hIEFXyo4yj2GT4=";
hash = "sha256-BebsS7y/hRQSc4rYOIWJ+sSJ5fLZaCpNAE48JnviUUc=";
};
# TODO: https://github.com/NixOS/nixpkgs/issues/36468
NIX_CFLAGS_COMPILE = [
"-I${glib.dev}/include/gio-unix-2.0"
];
nativeBuildInputs = [
meson
ninja