mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #148027 from WolfangAukang/lifeograph
This commit is contained in:
commit
f546cfa6c7
2 changed files with 42 additions and 0 deletions
40
pkgs/applications/editors/lifeograph/default.nix
Normal file
40
pkgs/applications/editors/lifeograph/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -3242,6 +3242,8 @@ with pkgs;
|
|||
|
||||
libxnd = callPackage ../development/libraries/libxnd { };
|
||||
|
||||
lifeograph = callPackage ../applications/editors/lifeograph { };
|
||||
|
||||
link-grammar = callPackage ../tools/text/link-grammar { };
|
||||
|
||||
linuxptp = callPackage ../os-specific/linux/linuxptp { };
|
||||
|
|
Loading…
Reference in a new issue