2017-10-23 13:34:56 +00:00
|
|
|
{ stdenv, fetchgit, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit}:
|
2016-10-02 13:59:01 +00:00
|
|
|
|
|
|
|
let
|
2017-10-23 13:34:56 +00:00
|
|
|
version = "1.2.0";
|
2016-10-02 13:59:01 +00:00
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "notepadqq-${version}";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/notepadqq/notepadqq.git";
|
2017-10-23 13:34:56 +00:00
|
|
|
rev = "ab074d30e02d49e0fe6957c1523e7fed239aff7d";
|
|
|
|
sha256 = "0j8vqsdw314qpk5lrgccm9n7gbyr14ac3s65sl1qn87pxhrz1hpg";
|
2016-10-02 13:59:01 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://notepadqq.altervista.org/;
|
2016-10-02 13:59:01 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|