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

56 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, nix-update-script, pkg-config, meson, ninja, python3, vala
2018-08-20 22:31:18 +02:00
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
, libgee, discount, wrapGAppsHook }:
2018-09-08 09:45:57 +02:00
stdenv.mkDerivation rec {
pname = "quilter";
2020-12-22 13:55:32 +01:00
version = "2.5.4";
2018-09-08 09:45:57 +02:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2020-12-22 13:55:32 +01:00
sha256 = "sha256-A8Ov0rITHuMLDYTueeDO89KtxlP0pNk1pA7O4x3Q9fE=";
2018-09-08 09:45:57 +02:00
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
vala
pkg-config
2018-09-08 09:45:57 +02:00
python3
wrapGAppsHook
];
buildInputs = [
discount
gtk3
gtksourceview
gtkspell3
libgee
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 09:45:57 +02:00
webkitgtk
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
2019-12-23 00:19:30 +01:00
passthru = {
updateScript = nix-update-script {
2019-12-23 00:19:30 +01:00
attrPath = pname;
};
};
meta = with lib; {
2018-09-08 09:45:57 +02:00
description = "Focus on your writing - designed for elementary OS";
2020-03-08 01:24:58 +01:00
homepage = "https://github.com/lainsce/quilter";
2018-10-27 23:25:55 +02:00
license = licenses.gpl2Plus;
maintainers = pantheon.maintainers;
2018-10-27 23:25:55 +02:00
platforms = platforms.linux;
2018-09-08 09:45:57 +02:00
};
}