mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #285227 from michaelgrahamevans/clairvoyant-3.1.3
clairvoyant: 3.1.2 -> 3.1.3
This commit is contained in:
commit
311da2877e
1 changed files with 18 additions and 8 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue