2018-11-11 22:41:58 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit}:
|
2016-10-02 14:59:01 +01:00
|
|
|
|
|
|
|
let
|
2018-11-11 22:41:58 +00:00
|
|
|
version = "1.4.8";
|
2016-10-02 14:59:01 +01:00
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "notepadqq-${version}";
|
2018-11-11 22:41:58 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "notepadqq";
|
|
|
|
repo = "notepadqq";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0lbv4s7ng31dkznzbkmp2cvkqglmfj6lv4mbg3r410fif2nrva7k";
|
2016-10-02 14:59:01 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2017-03-24 18:34:03 +00:00
|
|
|
pkgconfig which qttools
|
2016-10-02 14:59:01 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-03-24 18:34:03 +00:00
|
|
|
qtbase qtsvg qtwebkit
|
2016-10-02 14:59:01 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export LRELEASE="lrelease"
|
|
|
|
'';
|
|
|
|
|
2018-11-11 22:41:58 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-10-02 14:59:01 +01:00
|
|
|
meta = {
|
2018-11-11 22:41:58 +00:00
|
|
|
homepage = https://notepadqq.com/;
|
2016-10-02 14:59:01 +01:00
|
|
|
description = "Notepad++-like editor for the Linux desktop";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ rszibele ];
|
|
|
|
};
|
|
|
|
}
|