mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
clairvoyant: 3.1.3 -> 3.1.7
This commit is contained in:
parent
cfda13b163
commit
602a3062c4
1 changed files with 5 additions and 11 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue