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