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";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.0.0";
|
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}";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-GcOvof6bD7GNrABXIR8jOfzjDEN5Lvnj24M154iqQgU=";
|
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
|
|
|
};
|
|
|
|
}
|