Merge pull request #285227 from michaelgrahamevans/clairvoyant-3.1.3

clairvoyant: 3.1.2 -> 3.1.3
This commit is contained in:
Peder Bergebakken Sundt 2024-04-14 00:43:14 +02:00 committed by GitHub
commit 311da2877e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,17 +7,20 @@
, pkg-config
, stdenv
, vala
, wrapGAppsHook4
# Clairvoyant shows a non-dismissable banner recommending the use of the Flatpak version
, hideUnsupportedVersionBanner ? false
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "clairvoyant";
version = "3.1.2";
version = "3.1.3";
src = fetchFromGitHub {
owner = "cassidyjames";
repo = pname;
rev = version;
hash = "sha256-q+yN3FAs1L+GzagOQRK5gw8ptBpHPqWOiCL6aaoWcJo=";
repo = "clairvoyant";
rev = finalAttrs.version;
hash = "sha256-eAcd8JJmcsz8dm049g5xsF6gPpNQ6ZvGGIhKAoMlPTU=";
};
nativeBuildInputs = [
@ -25,6 +28,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
@ -32,12 +36,18 @@ stdenv.mkDerivation rec {
libadwaita
];
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";
homepage = "https://github.com/cassidyjames/clairvoyant";
changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ michaelgrahamevans ];
mainProgram = "com.github.cassidyjames.clairvoyant";
maintainers = with maintainers; [ michaelgrahamevans ];
};
}
})