depot/third_party/nixpkgs/pkgs/applications/office/gnote/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

61 lines
1,012 B
Nix

{ lib
, stdenv
, fetchurl
, desktop-file-utils
, gettext
, gspell
, gtkmm3
, itstool
, libsecret
, libuuid
, libxml2
, libxslt
, meson
, ninja
, pkg-config
, wrapGAppsHook
, gnome
}:
stdenv.mkDerivation rec {
pname = "gnote";
version = "44.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-3DvXkmj+mdTtVmeawHbMnZqq9ieWE403HPCIFffmSS0=";
};
buildInputs = [
gspell
gtkmm3
libsecret
libuuid
libxml2
libxslt
];
nativeBuildInputs = [
desktop-file-utils
gettext
itstool
meson
ninja
pkg-config
wrapGAppsHook
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Gnote";
description = "A note taking application";
maintainers = with maintainers; [ jfvillablanca ];
license = licenses.gpl3Only;
platforms = platforms.linux;
};
}