asciidoc-full{,-with-plugins}: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-21 19:19:39 +01:00 committed by Bjørn Forsman
parent 25b712020f
commit b0834fa2b7
2 changed files with 7 additions and 5 deletions

View file

@ -147,7 +147,9 @@ let
in
stdenv.mkDerivation rec {
pname = "asciidoc";
pname = "asciidoc"
+ lib.optionalString enableStandardFeatures "-full"
+ lib.optionalString enableExtraPlugins "-with-plugins";
version = "9.1.0";
# Note: a substitution to improve reproducibility should be updated once 10.0.0 is

View file

@ -3884,20 +3884,20 @@ with pkgs;
enableStandardFeatures = false;
};
asciidoc-full = appendToName "full" (asciidoc.override {
asciidoc-full = asciidoc.override {
inherit (python3.pkgs) pygments;
texlive = texlive.combine { inherit (texlive) scheme-minimal dvipng; };
w3m = w3m-batch;
enableStandardFeatures = true;
});
};
asciidoc-full-with-plugins = appendToName "full-with-plugins" (asciidoc.override {
asciidoc-full-with-plugins = asciidoc.override {
inherit (python3.pkgs) pygments;
texlive = texlive.combine { inherit (texlive) scheme-minimal dvipng; };
w3m = w3m-batch;
enableStandardFeatures = true;
enableExtraPlugins = true;
});
};
asciidoctor = callPackage ../tools/typesetting/asciidoctor { };