foliate: init at 2.6.3 (#119001)
This commit is contained in:
parent
e6b721a13a
commit
a2cfa9a515
|
@ -0,0 +1,45 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, meson, gettext, glib, gjs, ninja, python3, gtk3
|
||||||
|
, webkitgtk, gsettings-desktop-schemas, wrapGAppsHook, desktop-file-utils
|
||||||
|
, gobject-introspection }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "foliate";
|
||||||
|
version = "2.6.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "johnfactotum";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0ribqaxl8g1i83fxbn288afwbzzls48ni57xqi07d19p9ka892mr";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja python3 wrapGAppsHook ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs build-aux/meson/postinstall.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
echo "fixing wrapper"
|
||||||
|
sed -i "1 a imports.package._findEffectiveEntryPointName = () => 'com.github.johnfactotum.Foliate';" $out/bin/.com.github.johnfactotum.Foliate-wrapped
|
||||||
|
ln -s $out/bin/com.github.johnfactotum.Foliate $out/bin/foliate
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gettext
|
||||||
|
glib
|
||||||
|
gjs
|
||||||
|
gtk3
|
||||||
|
webkitgtk
|
||||||
|
desktop-file-utils
|
||||||
|
gobject-introspection
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A simple and modern GTK eBook reader";
|
||||||
|
homepage = "https://johnfactotum.github.io/foliate/";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ onny ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22693,6 +22693,8 @@ in
|
||||||
|
|
||||||
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
|
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
|
||||||
|
|
||||||
|
foliate = callPackage ../applications/office/foliate { };
|
||||||
|
|
||||||
fondo = callPackage ../applications/graphics/fondo { };
|
fondo = callPackage ../applications/graphics/fondo { };
|
||||||
|
|
||||||
font-manager = callPackage ../applications/misc/font-manager { };
|
font-manager = callPackage ../applications/misc/font-manager { };
|
||||||
|
|
Loading…
Reference in New Issue