2021-04-22 02:08:21 +00:00
|
|
|
{ lib, mkDerivation, cmake, hunspell, pkg-config, qttools, qtbase, qtsvg, qtx11extras
|
|
|
|
, fetchFromGitHub }:
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "featherpad";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.4.1";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tsujan";
|
|
|
|
repo = "FeatherPad";
|
|
|
|
rev = "V${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-8IT/PxLz6BsLHzY5pM0bTlAO0xvfC7/aI7+Gbw2LyME=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-04-22 02:08:21 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools ];
|
|
|
|
buildInputs = [ hunspell qtbase qtsvg qtx11extras ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Lightweight Qt5 Plain-Text Editor for Linux";
|
|
|
|
homepage = "https://github.com/tsujan/FeatherPad";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.flosse ];
|
2021-04-22 02:08:21 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|