From 9264d7f30a053d55f5975484e6d65437e0eae9fe Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Tue, 16 Jan 2024 09:34:16 +0200 Subject: [PATCH] clairvoyant: init at 3.1.2 --- pkgs/by-name/cl/clairvoyant/package.nix | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/by-name/cl/clairvoyant/package.nix diff --git a/pkgs/by-name/cl/clairvoyant/package.nix b/pkgs/by-name/cl/clairvoyant/package.nix new file mode 100644 index 000000000000..397aefbea07f --- /dev/null +++ b/pkgs/by-name/cl/clairvoyant/package.nix @@ -0,0 +1,43 @@ +{ lib +, fetchFromGitHub +, gtk4 +, libadwaita +, meson +, ninja +, pkg-config +, stdenv +, vala +}: + +stdenv.mkDerivation rec { + pname = "clairvoyant"; + version = "3.1.2"; + + src = fetchFromGitHub { + owner = "cassidyjames"; + repo = pname; + rev = version; + hash = "sha256-q+yN3FAs1L+GzagOQRK5gw8ptBpHPqWOiCL6aaoWcJo="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + vala + ]; + + buildInputs = [ + gtk4 + libadwaita + ]; + + meta = with lib; { + 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"; + }; +}