blob: f24f83c70f2782806363a129cdb5dc0bf4da7932 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{ stdenv
, lib
, fetchFromGitHub
, itstool
, meson
, ninja
, pkg-config
, wrapGAppsHook
, gtk3
, gtksourceview
, gtkspell3
, webkitgtk_4_1
, pandoc
}:
stdenv.mkDerivation rec {
pname = "marker";
version = "2023.05.02";
src = fetchFromGitHub {
owner = "fabiocolacio";
repo = "Marker";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-HhDhigQ6Aqo8R57Yrf1i69sM0feABB9El5R5OpzOyB0=";
};
nativeBuildInputs = [
itstool
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
gtk3
gtksourceview
gtkspell3
webkitgtk_4_1
pandoc
];
postPatch = ''
meson rewrite kwargs set project / version '${version}'
'';
meta = with lib; {
homepage = "https://fabiocolacio.github.io/Marker/";
description = "Markdown editor for the Linux desktop made with GTK3";
maintainers = with maintainers; [ trepetti aleksana ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
changelog = "https://github.com/fabiocolacio/Marker/releases/tag/${version}";
mainProgram = "marker";
};
}
|