biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / office / foliate / default.nix
blob4cd888468eaf68d4b4e96b1f5795c27ea7cc74c1
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , meson
5 , gettext
6 , glib
7 , gjs
8 , ninja
9 , gtk4
10 , webkitgtk_6_0
11 , gsettings-desktop-schemas
12 , wrapGAppsHook4
13 , desktop-file-utils
14 , gobject-introspection
15 , glib-networking
16 , pkg-config
17 , libadwaita
20 stdenv.mkDerivation rec {
21   pname = "foliate";
22   version = "3.1.1";
24   src = fetchFromGitHub {
25     owner = "johnfactotum";
26     repo = "foliate";
27     rev = "refs/tags/${version}";
28     hash = "sha256-uKxybt8ZZuk2tWSJLKC7Tgw78EfMMgI99VExfgOdHwA=";
29     fetchSubmodules = true;
30   };
32   nativeBuildInputs = [
33     desktop-file-utils
34     gobject-introspection
35     meson
36     ninja
37     pkg-config
38     wrapGAppsHook4
39   ];
41   buildInputs = [
42     gettext
43     gjs
44     glib
45     glib-networking
46     gsettings-desktop-schemas
47     gtk4
48     libadwaita
49     webkitgtk_6_0
50   ];
52   meta = with lib; {
53     description = "Simple and modern GTK eBook reader";
54     homepage = "https://johnfactotum.github.io/foliate";
55     changelog = "https://github.com/johnfactotum/foliate/releases/tag/${version}";
56     license = licenses.gpl3Only;
57     maintainers = with maintainers; [ onny ];
58     mainProgram = "foliate";
59   };