clairvoyant: 3.1.3 -> 3.1.7

This commit is contained in:
Michael Evans 2024-05-13 21:22:53 +02:00
parent cfda13b163
commit 602a3062c4

View file

@ -2,25 +2,24 @@
, fetchFromGitHub
, gtk4
, libadwaita
, libportal
, meson
, ninja
, pkg-config
, stdenv
, vala
, wrapGAppsHook4
# Clairvoyant shows a non-dismissable banner recommending the use of the Flatpak version
, hideUnsupportedVersionBanner ? false
}:
stdenv.mkDerivation (finalAttrs: {
pname = "clairvoyant";
version = "3.1.3";
version = "3.1.7";
src = fetchFromGitHub {
owner = "cassidyjames";
repo = "clairvoyant";
rev = finalAttrs.version;
hash = "sha256-eAcd8JJmcsz8dm049g5xsF6gPpNQ6ZvGGIhKAoMlPTU=";
hash = "sha256-p9Lgs5z5oRuMQYRKzWp+aQDi0FnxvbQGLZpBigolHUw=";
};
nativeBuildInputs = [
@ -34,17 +33,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
gtk4
libadwaita
libportal
];
preFixup = lib.optionalString hideUnsupportedVersionBanner ''
gappsWrapperArgs+=(
--set container true
)
'';
meta = with lib; {
changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}";
description = "Ask questions and get psychic answers";
description = "Ask questions, get psychic answers";
homepage = "https://github.com/cassidyjames/clairvoyant";
license = licenses.gpl3Plus;
mainProgram = "com.github.cassidyjames.clairvoyant";