1{ stdenv
2, fetchFromGitHub
3, gettext
4, libxml2
5, pkgconfig
6, gtk3
7, cmake
8, ninja
9, vala
10, wrapGAppsHook }:
11
12stdenv.mkDerivation rec {
13 name = "plotinus-${version}";
14 version = "0.2.0";
15
16 src = fetchFromGitHub {
17 owner = "p-e-w";
18 repo = "plotinus";
19 rev = "v${version}";
20 sha256 = "19k6f6ivg4ab57m62g6fkg85q9sv049snmzq1fyqnqijggwshxfz";
21 };
22
23 nativeBuildInputs = [
24 pkgconfig
25 wrapGAppsHook
26 vala
27 cmake
28 ninja
29 gettext
30 libxml2
31 ];
32 buildInputs = [
33 gtk3
34 ];
35
36 meta = with stdenv.lib; {
37 description = "A searchable command palette in every modern GTK+ application";
38 homepage = https://github.com/p-e-w/plotinus;
39 maintainers = with maintainers; [ samdroid-apps ];
40 platforms = platforms.linux;
41 # No COPYING file, but headers in the source code
42 license = licenses.gpl3;
43 };
44}