nixpkgs/pkgs/applications/office/aesop/default.nix

51 lines
1.2 KiB
Nix
Raw Normal View History

2018-10-31 22:06:13 +00:00
{ stdenv, fetchFromGitHub, fetchpatch, vala_0_40, pkgconfig, meson, ninja, python3, granite, gtk3
2018-09-18 18:51:14 +01:00
, gnome3, desktop-file-utils, json-glib, libsoup, poppler, gobjectIntrospection, wrapGAppsHook }:
2018-09-08 13:45:29 +01:00
stdenv.mkDerivation rec {
pname = "aesop";
2018-10-31 22:06:13 +00:00
version = "1.0.7";
2018-09-08 13:45:29 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "17hjg4qcy8q9xl170yapbhn9vdsn3jf537jsggq51pp0fnhvsnqs";
};
nativeBuildInputs = [
desktop-file-utils
gobjectIntrospection
meson
ninja
pkgconfig
python3
2018-10-31 22:06:13 +00:00
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
2018-09-08 13:45:29 +01:00
wrapGAppsHook
];
buildInputs = [
2018-10-31 22:06:13 +00:00
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
2018-09-08 13:45:29 +01:00
gnome3.libgee
granite
gtk3
json-glib
libsoup
poppler
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with stdenv.lib; {
description = "The simplest PDF viewer around";
2018-10-31 22:06:13 +00:00
homepage = https://github.com/lainsce/aesop;
license = licenses.gpl2Plus;
2018-09-08 13:45:29 +01:00
maintainers = with maintainers; [ worldofpeace ];
2018-10-31 22:06:13 +00:00
platforms = platforms.linux;
2018-09-08 13:45:29 +01:00
};
}