3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/quilter/default.nix

53 lines
1.3 KiB
Nix
Raw Normal View History

2018-10-27 22:25:55 +01:00
{ stdenv, fetchFromGitHub, fetchpatch, vala_0_40, pkgconfig, meson, ninja, python3
2018-09-08 08:45:57 +01:00
, granite, gtk3, desktop-file-utils, gnome3, gtksourceview, webkitgtk, gtkspell3
, discount, gobject-introspection, wrapGAppsHook }:
2018-09-08 08:45:57 +01:00
stdenv.mkDerivation rec {
pname = "quilter";
2018-10-27 22:25:55 +01:00
version = "1.6.8";
2018-09-08 08:45:57 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2018-10-27 22:25:55 +01:00
sha256 = "07i9pivpddgixn1wzbr15gvzf0n5pklx0gkjjaa35kvj2z8k31x5";
2018-09-08 08:45:57 +01:00
};
nativeBuildInputs = [
desktop-file-utils
gobject-introspection
2018-09-08 08:45:57 +01:00
meson
ninja
pkgconfig
python3
2018-10-27 22:25:55 +01:00
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
2018-09-08 08:45:57 +01:00
wrapGAppsHook
];
buildInputs = [
discount
2018-10-27 22:25:55 +01:00
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
gnome3.libgee
2018-09-08 08:45:57 +01:00
granite
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 22:25:55 +01:00
homepage = https://github.com/lainsce/quilter;
license = licenses.gpl2Plus;
2018-09-08 08:45:57 +01:00
maintainers = with maintainers; [ worldofpeace ];
2018-10-27 22:25:55 +01:00
platforms = platforms.linux;
2018-09-08 08:45:57 +01:00
};
}