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 16:14:31 +01:00
mkDerivation rec {
pname = "featherpad";
2020-08-24 16:14:31 +01:00
version = "0.10.0";
2018-10-23 10:52:36 +01:00
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
rev = "V${version}";
sha256 = "1wrbs6kni9s3x39cckm9kzpglryxn5vyarilvh9pafbzpc6rc57p";
2018-10-23 10:52:36 +01:00
};
2020-08-24 16:14:31 +01:00
nativeBuildInputs = [ qmake pkg-config qttools ];
2018-10-23 10:52:36 +01:00
buildInputs = [ qtbase qtsvg qtx11extras ];
2020-08-24 16:14:31 +01:00
meta = with lib; {
2018-10-23 10:52:36 +01:00
description = "Lightweight Qt5 Plain-Text Editor for Linux";
homepage = "https://github.com/tsujan/FeatherPad";
2018-10-23 10:52:36 +01:00
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3;
};
}