blob: ad75505c3642ca44910b5d21df6f71180319cd4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
stdenv,
fetchFromGitHub,
qmake,
}:
stdenv.mkDerivation {
pname = "qmarkdowntextedit";
version = "unstable-2023-04-02";
src = fetchFromGitHub {
owner = "pbek";
repo = "qmarkdowntextedit";
rev = "a23cc53e7e40e9dcfd0f815b2b3b6a5dc7304405";
hash = "sha256-EYBX2SJa8o4R/zEjSFbmFxhLI726WY21XmCkWIqPeFc=";
};
nativeBuildInputs = [ qmake ];
dontWrapQtApps = true;
qmakeFlags = [
"qmarkdowntextedit-lib.pro"
"PREFIX=${placeholder "out"}"
"LIBDIR=${placeholder "out"}/lib"
];
meta = {
description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies";
homepage = "https://github.com/pbek/qmarkdowntextedit";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ wineee ];
};
}
|