mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
62 lines
1012 B
Nix
62 lines
1012 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;
|
|
};
|
|
}
|