5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
47 lines
936 B
Nix
47 lines
936 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, gtk4
|
|
, libadwaita
|
|
, libportal
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, stdenv
|
|
, vala
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "clairvoyant";
|
|
version = "3.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cassidyjames";
|
|
repo = "clairvoyant";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-p9Lgs5z5oRuMQYRKzWp+aQDi0FnxvbQGLZpBigolHUw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
libportal
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}";
|
|
description = "Ask questions, get psychic answers";
|
|
homepage = "https://github.com/cassidyjames/clairvoyant";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "com.github.cassidyjames.clairvoyant";
|
|
maintainers = with maintainers; [ michaelgrahamevans ];
|
|
};
|
|
})
|