phosh: 0.39.0 -> 0.41.0

This commit is contained in:
Donovan Glover
2024-08-18 11:07:54 -04:00
parent fffa43b03e
commit f8fceac2de
@@ -32,16 +32,17 @@
, libsecret
, evolution-data-server
, nixosTests
, gmobile
}:
stdenv.mkDerivation (finalAttrs: {
pname = "phosh";
version = "0.39.0";
version = "0.41.0";
src = fetchurl {
# Release tarball which includes subprojects gvc and libcall-ui
url = with finalAttrs; "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-n1ZegSJAUr1Lbn0+Mx64vHhl4bwSJEdnO1xN/QdEKlw=";
hash = "sha256-HXuD9YC7gqGqAq2YmhXI3WRGsvyBc6PgSW3YSYTOdI4=";
};
nativeBuildInputs = [
@@ -67,6 +68,8 @@ stdenv.mkDerivation (finalAttrs: {
gcr
networkmanager
polkit
gmobile
gnome.gnome-bluetooth
gnome.gnome-control-center
gnome-desktop
gnome.gnome-session
@@ -87,11 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = false;
mesonFlags = [
"-Dsystemd=true"
"-Dcompositor=${phoc}/bin/phoc"
# https://github.com/NixOS/nixpkgs/issues/36468
# https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1363
"-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
# Save some time building if tests are disabled
"-Dtests=${lib.boolToString finalAttrs.finalPackage.doCheck}"
];