tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
qmarkdowntextedit: init at unstable-2022-06-30
rewine
3 years ago
68e8f8a8
f0127393
+50
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
qmarkdowntextedit
default.nix
top-level
all-packages.nix
+48
pkgs/development/libraries/qmarkdowntextedit/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, fetchpatch
5
5
+
, qmake
6
6
+
, wrapQtAppsHook
7
7
+
}:
8
8
+
9
9
+
stdenv.mkDerivation rec {
10
10
+
pname = "qmarkdowntextedit";
11
11
+
version = "unstable-2022-06-30";
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "pbek";
15
15
+
repo = pname;
16
16
+
rev = "3e52e20881d262c93b532641127c060267a500fe";
17
17
+
sha256 = "sha256-cvePq1X/Tq6ob762qjuYmoa8XNtVOiFTy/nbeXIih0w";
18
18
+
};
19
19
+
20
20
+
nativeBuildInputs = [ qmake wrapQtAppsHook ];
21
21
+
22
22
+
qmakeFlags = [
23
23
+
"qmarkdowntextedit-lib.pro"
24
24
+
"PREFIX=${placeholder "out"}"
25
25
+
"LIBDIR=${placeholder "out"}/lib"
26
26
+
];
27
27
+
28
28
+
patches = [
29
29
+
(fetchpatch {
30
30
+
name = "install_trans_by_qmake";
31
31
+
url = "https://github.com/pbek/qmarkdowntextedit/commit/3e3992dcdc03a997dbb9b0634368c3feb7af0a17.patch";
32
32
+
sha256 = "sha256-6on53YnmUwoAAg48rwT64PCvvLo9ooU2Vlh9bOjvZzw";
33
33
+
})
34
34
+
(fetchpatch {
35
35
+
name = "Generate_pkgconfig_file_by_qmake";
36
36
+
url = "https://github.com/pbek/qmarkdowntextedit/commit/025153d3ab565ba071ffe79212d7befae3db2ba1.patch";
37
37
+
sha256 = "sha256-FfTmlQl1Hn8edtbaj8Gsu3hBRB4ebah6Z+YDZ0cwVac=";
38
38
+
})
39
39
+
];
40
40
+
41
41
+
meta = with lib; {
42
42
+
description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies";
43
43
+
homepage = "https://github.com/pbek/qmarkdowntextedit";
44
44
+
license = licenses.mit;
45
45
+
platforms = platforms.linux;
46
46
+
maintainers = with maintainers; [ rewine ];
47
47
+
};
48
48
+
}
+2
pkgs/top-level/all-packages.nix
···
10201
10201
10202
10202
qmk = callPackage ../tools/misc/qmk { };
10203
10203
10204
10204
+
qmarkdowntextedit = libsForQt5.callPackage ../development/libraries/qmarkdowntextedit { };
10205
10205
+
10204
10206
qodem = callPackage ../tools/networking/qodem { };
10205
10207
10206
10208
qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { };