Skip to content

Commit

Permalink
calibre: don't overwrite gpl3Plus license when unrar support is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Sep 24, 2024
1 parent a11de24 commit 1009145
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ stdenv.mkDerivation (finalAttrs: {
free and open source and great for both casual users and computer experts.
'';
changelog = "https://github.com/kovidgoyal/calibre/releases/tag/v${finalAttrs.version}";
license = if unrarSupport
then lib.licenses.unrar
else lib.licenses.gpl3Plus;
license = [ lib.licenses.gpl3Plus ]
# the extra unfree is because gpl license cannot legally be combined with unfree licenses
++ lib.optionals unrarSupport [ lib.licenses.unrar lib.licenses.unfree];
maintainers = with lib.maintainers; [ pSub ];
platforms = lib.platforms.unix;
broken = stdenv.isDarwin;
Expand Down

0 comments on commit 1009145

Please sign in to comment.