2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub
|
|
|
|
, gdk-pixbuf, glib, gobject-introspection, gtk3, gtksourceview, pango, webkitgtk
|
|
|
|
, pygobject3, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "rednotebook";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.33";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jendrikseipp";
|
|
|
|
repo = "rednotebook";
|
2022-08-12 12:06:08 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-K4uEZZZXU2mZ61t6Ak5mpiCsm/mcNhm+xJSzfJPiuwo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# We have not packaged tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gobject-introspection ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
gdk-pixbuf glib gtk3 gtksourceview pango webkitgtk
|
|
|
|
pygobject3 pyyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
|
|
|
|
"--prefix XDG_DATA_DIRS : $out/share"
|
|
|
|
"--suffix XDG_DATA_DIRS : $XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://rednotebook.sourceforge.io/";
|
2022-02-20 05:27:41 +00:00
|
|
|
changelog = "https://github.com/jendrikseipp/rednotebook/blob/v${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
|
2022-02-20 05:27:41 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ orivej ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "rednotebook";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|