tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
thiefmd: 0.2.5 -> 0.2.7
zendo
2 years ago
984d7a10
15fded26
+46
-23
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
thiefmd
default.nix
+46
-23
pkgs/applications/editors/thiefmd/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, wrapGAppsHook, cmake, desktop-file-utils, glib
2
2
-
, meson, ninja, pkg-config, vala, clutter, discount, gtk3, gtksourceview4, gtkspell3
3
3
-
, libarchive, libgee, libhandy, libsecret, link-grammar, webkitgtk }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, meson
5
5
+
, ninja
6
6
+
, vala
7
7
+
, pkg-config
8
8
+
, wrapGAppsHook
9
9
+
, desktop-file-utils
10
10
+
, discount
11
11
+
, glib
12
12
+
, gtk3
13
13
+
, gtksourceview4
14
14
+
, gtkspell3
15
15
+
, json-glib
16
16
+
, libarchive
17
17
+
, libgee
18
18
+
, libhandy
19
19
+
, libsecret
20
20
+
, libxml2
21
21
+
, link-grammar
22
22
+
, webkitgtk_4_1
23
23
+
}:
4
24
5
25
stdenv.mkDerivation rec {
6
26
pname = "thiefmd";
7
7
-
version = "0.2.5-stability";
27
27
+
version = "0.2.7";
8
28
9
29
src = fetchFromGitHub {
10
30
owner = "kmwallio";
11
31
repo = "ThiefMD";
12
32
rev = "v${version}";
13
13
-
sha256 = "sha256-cUZ7NVGe4e9ZISo9gjWFuDNCyF3rsQtrDX+ureyqtwM=";
33
33
+
hash = "sha256-noNfGFMeIyKhAgiovJDn91TLELAOQ4nD/5QlQfsKTII=";
14
34
fetchSubmodules = true;
15
35
};
16
36
17
37
nativeBuildInputs = [
18
18
-
cmake desktop-file-utils glib meson wrapGAppsHook
19
19
-
ninja pkg-config vala
38
38
+
meson
39
39
+
ninja
40
40
+
vala
41
41
+
pkg-config
42
42
+
wrapGAppsHook
43
43
+
desktop-file-utils
20
44
];
21
45
22
46
buildInputs = [
23
23
-
clutter discount gtk3 gtksourceview4 gtkspell3
24
24
-
libarchive libgee libhandy libsecret link-grammar
25
25
-
webkitgtk
47
47
+
discount # libmarkdown
48
48
+
glib
49
49
+
gtk3
50
50
+
gtksourceview4
51
51
+
gtkspell3
52
52
+
json-glib
53
53
+
libarchive
54
54
+
libgee
55
55
+
libhandy
56
56
+
libsecret
57
57
+
libxml2
58
58
+
link-grammar
59
59
+
webkitgtk_4_1
26
60
];
27
61
28
28
-
dontUseCmakeConfigure = true;
29
29
-
30
30
-
postInstall = ''
31
31
-
mv $out/share/applications/com.github.kmwallio.thiefmd.desktop \
32
32
-
$out/share/applications/thiefmd.desktop
33
33
-
substituteInPlace $out/share/applications/thiefmd.desktop \
34
34
-
--replace 'Exec=com.github.kmwallio.' Exec=$out/bin/
35
35
-
36
36
-
makeWrapper $out/bin/com.github.kmwallio.thiefmd \
37
37
-
$out/bin/thiefmd \
38
38
-
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/"
39
39
-
'';
40
40
-
41
62
meta = with lib; {
42
63
description = "Markdown & Fountain editor that helps with organization and management";
43
64
homepage = "https://thiefmd.com";
65
65
+
downloadPage = "https://github.com/kmwallio/ThiefMD";
66
66
+
mainProgram = "com.github.kmwallio.thiefmd";
44
67
license = licenses.gpl3Only;
45
68
platforms = platforms.linux;
46
69
maintainers = with maintainers; [ wolfangaukang ];