nixpkgs/pkgs/applications/editors/featherpad/default.nix
2023-06-22 03:30:48 +00:00

26 lines
709 B
Nix

{ lib, mkDerivation, cmake, hunspell, pkg-config, qttools, qtbase, qtsvg, qtx11extras
, fetchFromGitHub }:
mkDerivation rec {
pname = "featherpad";
version = "1.4.1";
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
rev = "V${version}";
sha256 = "sha256-8IT/PxLz6BsLHzY5pM0bTlAO0xvfC7/aI7+Gbw2LyME=";
};
nativeBuildInputs = [ cmake pkg-config qttools ];
buildInputs = [ hunspell qtbase qtsvg qtx11extras ];
meta = with lib; {
description = "Lightweight Qt5 Plain-Text Editor for Linux";
homepage = "https://github.com/tsujan/FeatherPad";
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3Plus;
};
}