Skip to content

Commit

Permalink
Merge pull request #285227 from michaelgrahamevans/clairvoyant-3.1.3
Browse files Browse the repository at this point in the history
clairvoyant: 3.1.2 -> 3.1.3
  • Loading branch information
pbsds authored Apr 13, 2024
2 parents a2a0f5f + 4beb689 commit 311da28
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions pkgs/by-name/cl/clairvoyant/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,47 @@
, 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 = [
meson
ninja
pkg-config
vala
wrapGAppsHook4
];

buildInputs = [
gtk4
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 ];
};
}
})

0 comments on commit 311da28

Please sign in to comment.