nixpkgs/pkgs/applications/editors/quilter/default.nix

53 lines
1.1 KiB
Nix
Raw Normal View History

2018-08-20 13:31:18 -07:00
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, meson, ninja, python3
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
, gnome3, discount, gobject-introspection, wrapGAppsHook }:
2018-09-08 00:45:57 -07:00
stdenv.mkDerivation rec {
pname = "quilter";
2018-10-27 14:25:55 -07:00
version = "1.6.8";
2018-09-08 00:45:57 -07:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2018-10-27 14:25:55 -07:00
sha256 = "07i9pivpddgixn1wzbr15gvzf0n5pklx0gkjjaa35kvj2z8k31x5";
2018-09-08 00:45:57 -07:00
};
nativeBuildInputs = [
desktop-file-utils
gobject-introspection
2018-09-08 00:45:57 -07:00
meson
ninja
pkgconfig
python3
2018-08-20 13:31:18 -07:00
pantheon.vala
2018-09-08 00:45:57 -07:00
wrapGAppsHook
];
buildInputs = [
discount
2018-08-20 13:31:18 -07:00
pantheon.elementary-icon-theme
pantheon.granite
2018-10-27 14:25:55 -07:00
gnome3.libgee
2018-09-08 00:45:57 -07:00
gtk3
gtksourceview
gtkspell3
webkitgtk
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with stdenv.lib; {
description = "Focus on your writing - designed for elementary OS";
2018-10-27 14:25:55 -07:00
homepage = https://github.com/lainsce/quilter;
license = licenses.gpl2Plus;
2018-09-08 00:45:57 -07:00
maintainers = with maintainers; [ worldofpeace ];
2018-10-27 14:25:55 -07:00
platforms = platforms.linux;
2018-09-08 00:45:57 -07:00
};
}