diff options
author | P. R. d. O <d.ol.rod@protonmail.com> | 2021-11-30 09:49:58 -0600 |
---|---|---|
committer | P. R. d. O <d.ol.rod@protonmail.com> | 2021-11-30 09:49:58 -0600 |
commit | efd9bd36672e8115eeb7011c0e1fb56bb6622031 (patch) | |
tree | d740590cf8f4da722de79a09afb11a4e0afa030f /pkgs/applications/editors/lifeograph | |
parent | dad4fddd52923d90c5ad981d5e29963e829de3c1 (diff) | |
download | nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar.gz nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar.bz2 nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar.lz nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar.xz nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.tar.zst nixpkgs-efd9bd36672e8115eeb7011c0e1fb56bb6622031.zip |
lifeograph: init at 2.0.2
Diffstat (limited to 'pkgs/applications/editors/lifeograph')
-rw-r--r-- | pkgs/applications/editors/lifeograph/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/editors/lifeograph/default.nix b/pkgs/applications/editors/lifeograph/default.nix new file mode 100644 index 00000000000..b998b02f50d --- /dev/null +++ b/pkgs/applications/editors/lifeograph/default.nix @@ -0,0 +1,40 @@ +{ stdenv, lib, fetchgit, pkg-config, meson, ninja +, enchant, gtkmm3, libchamplain, libgcrypt }: + +stdenv.mkDerivation rec { + pname = "lifeograph"; + version = "2.0.2"; + + src = fetchgit { + url = "https://git.launchpad.net/lifeograph"; + # Specific commit hash related to version + rev = "d635bbb30011c0d33c33643e6fa5c006f98ed7d6"; + sha256 = "0j9wn5bj7cbfnmyyx7ikx961sksv50agnb53prymldbsq43rfgnq"; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ]; + + 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; + }; +} |