mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
957fcc9b32
https://github.com/lainsce/quilter/releases/tag/1.7.6 https://github.com/lainsce/quilter/releases/tag/1.8.0 https://github.com/lainsce/quilter/releases/tag/1.8.1
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, meson, ninja, python3
|
|
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
|
|
, libgee, discount, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "quilter";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lainsce";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0i8rvvc5g74bgfjgsmmgpj42xmhjaz14jjzl9s5nzwpy1fn7vv0p";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pantheon.vala
|
|
pkgconfig
|
|
python3
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
discount
|
|
gtk3
|
|
gtksourceview
|
|
gtkspell3
|
|
libgee
|
|
pantheon.elementary-icon-theme
|
|
pantheon.granite
|
|
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";
|
|
homepage = https://github.com/lainsce/quilter;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|