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