nixpkgs/pkgs/applications/editors/lifeograph/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1 KiB
Nix
Raw Normal View History

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