depot/third_party/nixpkgs/pkgs/applications/office/foliate/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

58 lines
994 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, gettext
, glib
, gjs
, ninja
, gtk4
, webkitgtk_6_0
, gsettings-desktop-schemas
, wrapGAppsHook4
, desktop-file-utils
, gobject-introspection
, glib-networking
, pkg-config
, libadwaita
}:
stdenv.mkDerivation rec {
pname = "foliate";
version = "3.0.1";
src = fetchFromGitHub {
owner = "johnfactotum";
repo = pname;
rev = version;
hash = "sha256-ksjd/H62c9dhoOXQtrKqexAjLMGd/adP/fL78fYRi/Y=";
fetchSubmodules = true;
};
nativeBuildInputs = [
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
gettext
gjs
glib
glib-networking
gsettings-desktop-schemas
gtk4
libadwaita
webkitgtk_6_0
];
meta = with lib; {
description = "A simple and modern GTK eBook reader";
homepage = "https://johnfactotum.github.io/foliate/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ onny ];
};
}