Skip to content

Commit ba779c3

Browse files
authored
lifeograph: 2.0.3 -> 3.0.1 (#404068)
2 parents 023831f + 0f712d3 commit ba779c3

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed
Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,56 @@
11
{
2-
stdenv,
32
lib,
3+
stdenv,
44
fetchgit,
55
pkg-config,
66
meson,
77
ninja,
8-
wrapGAppsHook3,
8+
wrapGAppsHook4,
99
enchant,
10-
gtkmm3,
10+
gtkmm4,
1111
libchamplain,
1212
libgcrypt,
1313
shared-mime-info,
14+
libshumate,
1415
}:
1516

16-
stdenv.mkDerivation rec {
17+
stdenv.mkDerivation (finalAttrs: {
1718
pname = "lifeograph";
18-
version = "2.0.3";
19+
version = "3.0.1";
1920

2021
src = fetchgit {
2122
url = "https://git.launchpad.net/lifeograph";
22-
rev = "v${version}";
23-
hash = "sha256-RotbTdTtpwXmo+UKOyp93IAC6CCstv++KtnX2doN+nM=";
23+
rev = "v${finalAttrs.version}";
24+
hash = "sha256-tcq1A1P8sJ57Tr2MLxsFIru+VJdORuvPBq6fMgBmuY0=";
2425
};
2526

2627
nativeBuildInputs = [
2728
meson
2829
ninja
2930
pkg-config
3031
shared-mime-info # for update-mime-database
31-
wrapGAppsHook3
32+
wrapGAppsHook4
3233
];
3334

3435
buildInputs = [
3536
libgcrypt
3637
enchant
37-
gtkmm3
38+
gtkmm4
3839
libchamplain
40+
libshumate
3941
];
4042

4143
postInstall = ''
4244
substituteInPlace $out/share/applications/net.sourceforge.Lifeograph.desktop \
43-
--replace "Exec=" "Exec=$out/bin/"
45+
--replace-fail "Exec=" "Exec=$out/bin/"
4446
'';
4547

46-
meta = with lib; {
47-
homepage = "https://lifeograph.sourceforge.net/wiki/Main_Page";
48-
description = "Lifeograph is an off-line and private journal and note taking application";
49-
license = licenses.gpl3Only;
50-
maintainers = [ ];
48+
meta = {
49+
homepage = "https://lifeograph.sourceforge.net/doku.php?id=start";
50+
description = "Off-line and private journal and note taking application";
51+
license = lib.licenses.gpl3Only;
52+
maintainers = with lib.maintainers; [ emaryn ];
5153
mainProgram = "lifeograph";
52-
platforms = platforms.linux;
54+
platforms = lib.platforms.linux;
5355
};
54-
}
56+
})

0 commit comments

Comments
 (0)