2019-08-08 12:32:55 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
|
2016-10-02 13:59:01 +00:00
|
|
|
|
2019-08-08 12:32:55 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "notepadqq";
|
2018-11-11 22:41:58 +00:00
|
|
|
version = "1.4.8";
|
2020-05-20 20:02:01 +00:00
|
|
|
|
2018-11-11 22:41:58 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "notepadqq";
|
|
|
|
repo = "notepadqq";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0lbv4s7ng31dkznzbkmp2cvkqglmfj6lv4mbg3r410fif2nrva7k";
|
2016-10-02 13:59:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2017-03-24 18:34:03 +00:00
|
|
|
pkgconfig which qttools
|
2016-10-02 13:59:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-03-24 18:34:03 +00:00
|
|
|
qtbase qtsvg qtwebkit
|
2016-10-02 13:59:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export LRELEASE="lrelease"
|
|
|
|
'';
|
|
|
|
|
2019-08-08 12:32:55 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapQtApp $out/bin/notepadqq
|
|
|
|
'';
|
|
|
|
|
2018-11-11 22:41:58 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-08-08 12:32:55 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://notepadqq.com/";
|
2016-10-02 13:59:01 +00:00
|
|
|
description = "Notepad++-like editor for the Linux desktop";
|
2019-08-08 12:32:55 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rszibele ];
|
2016-10-02 13:59:01 +00:00
|
|
|
};
|
|
|
|
}
|