2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
|
|
|
, atk
|
|
|
|
, cairo
|
|
|
|
, desktop-file-utils
|
|
|
|
, evolution-data-server
|
2021-02-05 17:12:51 +00:00
|
|
|
, evolution
|
2020-04-24 23:36:52 +00:00
|
|
|
, gcr
|
|
|
|
, gettext
|
|
|
|
, glib
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-04-24 23:36:52 +00:00
|
|
|
, gpgme
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview3
|
|
|
|
, gtkspell3
|
|
|
|
, libcryptui
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
2020-09-25 04:45:31 +00:00
|
|
|
, pkg-config
|
|
|
|
, python3
|
2020-04-24 23:36:52 +00:00
|
|
|
, sqlite
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "almanah";
|
2021-03-12 07:09:13 +00:00
|
|
|
version = "0.12.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 22:18:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-12 07:09:13 +00:00
|
|
|
sha256 = "lMpDQOxlGljP66APR49aPbTZnfrGakbQ2ZcFvmiPMFo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
2020-09-25 04:45:31 +00:00
|
|
|
pkg-config
|
|
|
|
python3
|
2020-04-24 23:36:52 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
atk
|
|
|
|
cairo
|
|
|
|
evolution-data-server
|
|
|
|
gcr
|
|
|
|
glib
|
2021-02-05 17:12:51 +00:00
|
|
|
evolution
|
2020-04-24 23:36:52 +00:00
|
|
|
gpgme
|
|
|
|
gtk3
|
|
|
|
gtksourceview3
|
|
|
|
gtkspell3
|
|
|
|
libcryptui
|
|
|
|
sqlite
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none"; # it is quite odd
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Small GTK application to allow to keep a diary of your life";
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Almanah_Diary";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
}
|