2022-11-04 12:27:35 +00:00
|
|
|
{ stdenv, lib, fetchgit, pkg-config, meson, ninja, wrapGAppsHook
|
2022-04-27 09:35:20 +00:00
|
|
|
, enchant, gtkmm3, libchamplain, libgcrypt, shared-mime-info }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lifeograph";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "2.0.3";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.launchpad.net/lifeograph";
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-RotbTdTtpwXmo+UKOyp93IAC6CCstv++KtnX2doN+nM=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2022-04-27 09:35:20 +00:00
|
|
|
shared-mime-info # for update-mime-database
|
2022-11-04 12:27:35 +00:00
|
|
|
wrapGAppsHook
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libgcrypt
|
|
|
|
enchant
|
|
|
|
gtkmm3
|
|
|
|
libchamplain
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/share/applications/net.sourceforge.Lifeograph.desktop \
|
|
|
|
--replace "Exec=" "Exec=$out/bin/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://lifeograph.sourceforge.net/wiki/Main_Page";
|
|
|
|
description = "Lifeograph is an off-line and private journal and note taking application";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ wolfangaukang ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|