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

50 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3
2018-08-20 21:31:18 +01:00
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
, libgee, discount, wrapGAppsHook }:
2018-09-08 08:45:57 +01:00
stdenv.mkDerivation rec {
pname = "quilter";
version = "1.9.2";
2018-09-08 08:45:57 +01:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "10r6d695avxj31yghb82ymgnd7f1dawwbqz3gfy0rycjza9dxvv8";
2018-09-08 08:45:57 +01:00
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pantheon.vala
2018-09-08 08:45:57 +01:00
pkgconfig
python3
wrapGAppsHook
];
buildInputs = [
discount
gtk3
gtksourceview
gtkspell3
libgee
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 08:45:57 +01:00
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
};
}