openlpFull: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-22 17:41:45 +01:00
parent a50f8ee433
commit f427f5296e
2 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,8 @@ let
# base pkg/lib # base pkg/lib
baseLib = python3Packages.callPackage ./lib.nix { }; baseLib = python3Packages.callPackage ./lib.nix { };
in mkDerivation { in mkDerivation {
inherit (baseLib) pname version src; pname = baseLib.pname + lib.optionalString (pdfSupport && presentationSupport && vlcSupport && gstreamerSupport) "-full";
inherit (baseLib) version src;
nativeBuildInputs = [ python3Packages.wrapPython wrapGAppsHook ]; nativeBuildInputs = [ python3Packages.wrapPython wrapGAppsHook ];
buildInputs = [ qtbase ] ++ optionals gstreamerSupport buildInputs = [ qtbase ] ++ optionals gstreamerSupport

View file

@ -31811,12 +31811,12 @@ with pkgs;
octopus = callPackage ../applications/science/chemistry/octopus { }; octopus = callPackage ../applications/science/chemistry/octopus { };
openlp = libsForQt5.callPackage ../applications/misc/openlp { }; openlp = libsForQt5.callPackage ../applications/misc/openlp { };
openlpFull = appendToName "full" (openlp.override { openlpFull = openlp.override {
pdfSupport = true; pdfSupport = true;
presentationSupport = true; presentationSupport = true;
vlcSupport = true; vlcSupport = true;
gstreamerSupport = true; gstreamerSupport = true;
}); };
dkh = callPackage ../applications/science/chemistry/dkh { }; dkh = callPackage ../applications/science/chemistry/dkh { };