@@ -0,0 +1,49 @@
1+{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, granite, gtk3, gnome3
2+, desktop-file-utils, json-glib, libsoup, poppler, gobjectIntrospection, wrapGAppsHook }:
3+
4+stdenv.mkDerivation rec {
5+ pname = "aesop";
6+ version = "1.0.5";
7+
8+ name = "${pname}-${version}";
9+
10+ src = fetchFromGitHub {
11+ owner = "lainsce";
12+ repo = pname;
13+ rev = version;
14+ sha256 = "17hjg4qcy8q9xl170yapbhn9vdsn3jf537jsggq51pp0fnhvsnqs";
15+ };
16+
17+ nativeBuildInputs = [
18+ desktop-file-utils
19+ gobjectIntrospection
20+ meson
21+ ninja
22+ pkgconfig
23+ python3
24+ vala
25+ wrapGAppsHook
26+ ];
27+
28+ buildInputs = [
29+ gnome3.libgee
30+ granite
31+ gtk3
32+ json-glib
33+ libsoup
34+ poppler
35+ ];
36+
37+ postPatch = ''
38+ chmod +x meson/post_install.py
39+ patchShebangs meson/post_install.py
40+ '';
41+
42+ meta = with stdenv.lib; {
43+ description = "The simplest PDF viewer around";
44+ homepage = https://github.com/lainsce/aesop;
45+ license = licenses.gpl2Plus;
46+ maintainers = with maintainers; [ worldofpeace ];
47+ platforms = platforms.linux;
48+ };
49+}