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

24 lines
686 B
Nix
Raw Normal View History

{ lib, mkDerivation, pkg-config, qmake, qttools, qtbase, qtsvg, qtx11extras, fetchFromGitHub }:
2020-08-24 15:14:31 +00:00
mkDerivation rec {
pname = "featherpad";
2020-08-24 15:14:31 +00:00
version = "0.10.0";
2018-10-23 09:52:36 +00:00
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
rev = "V${version}";
sha256 = "1wrbs6kni9s3x39cckm9kzpglryxn5vyarilvh9pafbzpc6rc57p";
2018-10-23 09:52:36 +00:00
};
2020-08-24 15:14:31 +00:00
nativeBuildInputs = [ qmake pkg-config qttools ];
2018-10-23 09:52:36 +00:00
buildInputs = [ 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.gpl3;
};
}