about summary refs log tree commit diff
path: root/pkgs/tools/misc/plotinus/default.nix
blob: 112010c80082f371f534117e23ee3f87f49961ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib, stdenv
, fetchFromGitHub
, gettext
, libxml2
, pkg-config
, gtk3
, cmake
, ninja
, vala
, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "plotinus";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "p-e-w";
    repo = "plotinus";
    rev = "v${version}";
    sha256 = "19k6f6ivg4ab57m62g6fkg85q9sv049snmzq1fyqnqijggwshxfz";
  };

  nativeBuildInputs = [
    pkg-config
    wrapGAppsHook
    vala
    cmake
    ninja
    gettext
    libxml2
  ];
  buildInputs = [
    gtk3
  ];

  meta = with lib; {
    description = "A searchable command palette in every modern GTK application";
    homepage = "https://github.com/p-e-w/plotinus";
    maintainers = with maintainers; [ samdroid-apps ];
    platforms = platforms.linux;
    # No COPYING file, but headers in the source code
    license = licenses.gpl3;
  };
}