1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 qt6,
7 hunspell,
8 pkg-config,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "featherpad";
13 version = "1.6.2";
14
15 src = fetchFromGitHub {
16 owner = "tsujan";
17 repo = "FeatherPad";
18 tag = "V${finalAttrs.version}";
19 hash = "sha256-G47ltOiyNEk/NrFWoXpft/rCJ18t0FTZrc5ReEJL6TU=";
20 };
21
22 nativeBuildInputs = [
23 cmake
24 pkg-config
25 qt6.qttools
26 qt6.wrapQtAppsHook
27 ];
28
29 buildInputs = [
30 hunspell
31 qt6.qtbase
32 qt6.qtsvg
33 ];
34
35 meta = {
36 description = "Lightweight Qt5 Plain-Text Editor for Linux";
37 homepage = "https://github.com/tsujan/FeatherPad";
38 platforms = lib.platforms.linux;
39 maintainers = [ lib.maintainers.flosse ];
40 license = lib.licenses.gpl3Plus;
41 };
42})