2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
2024-01-02 11:29:13 +00:00
|
|
|
, gtkmm4
|
2023-05-24 13:37:59 +00:00
|
|
|
, itstool
|
|
|
|
, libsecret
|
|
|
|
, libuuid
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2024-01-02 11:29:13 +00:00
|
|
|
, wrapGAppsHook4
|
2023-05-24 13:37:59 +00:00
|
|
|
, gnome
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnote";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "45.1";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-nuwn+MsKENL9uRSkUei4QYwmDni/BzYHgaeKXkGM+UE=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
gtkmm4
|
2023-05-24 13:37:59 +00:00
|
|
|
libsecret
|
|
|
|
libuuid
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2024-01-02 11:29:13 +00:00
|
|
|
wrapGAppsHook4
|
2023-05-24 13:37:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Gnote";
|
|
|
|
description = "A note taking application";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gnote";
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ jfvillablanca ];
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|