2017-03-24 18:34:03 +00:00
|
|
|
{ stdenv, fetchgit, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
|
2016-10-02 14:59:01 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.53.0";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "notepadqq-${version}";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/notepadqq/notepadqq.git";
|
|
|
|
rev = "3b0751277fb268ec72b466b37d0f0977c536bc1b";
|
|
|
|
sha256 = "0hw94mn2xg2r58afvz1xg990jinv9aa33942zgwq54qwj61r93hi";
|
|
|
|
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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://notepadqq.altervista.org/;
|
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 ];
|
|
|
|
};
|
|
|
|
}
|