calibre: cosmetical modifications
To make @r-rmcgibbo happy!
This commit is contained in:
parent
c27538ee3f
commit
4d7b43a328
|
@ -21,7 +21,6 @@
|
||||||
, libusb1
|
, libusb1
|
||||||
, libmtp
|
, libmtp
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
, makeDesktopItem
|
|
||||||
, removeReferencesTo
|
, removeReferencesTo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -35,13 +34,12 @@ mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Patches from Debian that:
|
# Plugin installation (very insecure) disabled (from Debian)
|
||||||
# - disable plugin installation (very insecure)
|
|
||||||
./disable_plugins.patch
|
./disable_plugins.patch
|
||||||
# - switches the version update from enabled to disabled by default
|
# Automatic version update disabled by default (from Debian)
|
||||||
./no_updates_dialog.patch
|
./no_updates_dialog.patch
|
||||||
# the unrar patch is not from debian
|
]
|
||||||
] ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
|
++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
|
||||||
|
|
||||||
escaped_pyqt5_dir = builtins.replaceStrings ["/"] ["\\/"] (toString python3Packages.pyqt5);
|
escaped_pyqt5_dir = builtins.replaceStrings ["/"] ["\\/"] (toString python3Packages.pyqt5);
|
||||||
platform_tag =
|
platform_tag =
|
||||||
|
@ -59,8 +57,7 @@ mkDerivation rec {
|
||||||
setup/build.py
|
setup/build.py
|
||||||
|
|
||||||
# Remove unneeded files and libs
|
# Remove unneeded files and libs
|
||||||
rm -rf resources/calibre-portable.* \
|
rm -rf src/odf resources/calibre-portable.*
|
||||||
src/odf
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontUseQmakeConfigure = true;
|
dontUseQmakeConfigure = true;
|
||||||
|
@ -173,11 +170,16 @@ mkDerivation rec {
|
||||||
disallowedReferences = [ podofo.dev ];
|
disallowedReferences = [ podofo.dev ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Comprehensive e-book software";
|
|
||||||
homepage = "https://calibre-ebook.com";
|
homepage = "https://calibre-ebook.com";
|
||||||
license = with licenses; if unrarSupport then unfreeRedistributable else gpl3;
|
description = "Comprehensive e-book software";
|
||||||
|
longDescription = ''
|
||||||
|
calibre is a powerful and easy to use e-book manager. Users say it’s
|
||||||
|
outstanding and a must-have. It’ll allow you to do nearly everything and
|
||||||
|
it takes things a step beyond normal e-book software. It’s also completely
|
||||||
|
free and open source and great for both casual users and computer experts.
|
||||||
|
'';
|
||||||
|
license = with licenses; if unrarSupport then unfreeRedistributable else gpl3Plus;
|
||||||
maintainers = with maintainers; [ domenkozar pSub AndersonTorres ];
|
maintainers = with maintainers; [ domenkozar pSub AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
inherit version;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue