nixpkgs/pkgs/applications/editors/featherpad/default.nix

26 lines
711 B
Nix
Raw Normal View History

{ lib, mkDerivation, cmake, hunspell, pkg-config, qttools, qtbase, qtsvg, qtx11extras
, fetchFromGitHub }:
2020-08-24 15:14:31 +00:00
mkDerivation rec {
pname = "featherpad";
version = "0.18.0";
2020-08-24 15:14:31 +00:00
2018-10-23 09:52:36 +00:00
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
rev = "V${version}";
sha256 = "0av96yx9ir1ap5adn2cvr6n5y7qjrspk73and21m65dmpwlfdiqb";
2018-10-23 09:52:36 +00:00
};
2020-08-24 15:14:31 +00:00
nativeBuildInputs = [ cmake pkg-config qttools ];
buildInputs = [ hunspell qtbase qtsvg qtx11extras ];
2020-08-24 15:14:31 +00:00
meta = with lib; {
2018-10-23 09:52:36 +00:00
description = "Lightweight Qt5 Plain-Text Editor for Linux";
homepage = "https://github.com/tsujan/FeatherPad";
2018-10-23 09:52:36 +00:00
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3Plus;
2018-10-23 09:52:36 +00:00
};
}