about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-06-02 14:38:41 +0100
committerRobert Scott <code@humanleg.org.uk>2022-06-04 19:47:57 +0100
commit3b6bc4b69ca7eec695291af31d8878071e0e084d (patch)
treebe1a2290fc8831c596bdf2b585b8677876ad9b29 /pkgs/tools/typesetting
parentf1d7577cca9f9dac11994c694369e325943ab798 (diff)
treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/asciidoc/default.nix3
-rw-r--r--pkgs/tools/typesetting/fop/default.nix4
2 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix
index be7f978a42aa2..ed07c5588fec4 100644
--- a/pkgs/tools/typesetting/asciidoc/default.nix
+++ b/pkgs/tools/typesetting/asciidoc/default.nix
@@ -322,6 +322,9 @@ stdenv.mkDerivation rec {
       the backend output markups (which can be almost any type of SGML/XML
       markup) can be customized and extended by the user.
     '';
+    sourceProvenance = with sourceTypes; [
+      fromSource
+    ] ++ lib.optional _enableDitaaFilter binaryBytecode;
     homepage = "http://www.methods.co.nz/asciidoc/";
     license = licenses.gpl2Plus;
     platforms = platforms.unix;
diff --git a/pkgs/tools/typesetting/fop/default.nix b/pkgs/tools/typesetting/fop/default.nix
index f1bec5a240a1e..68b8399fc76c6 100644
--- a/pkgs/tools/typesetting/fop/default.nix
+++ b/pkgs/tools/typesetting/fop/default.nix
@@ -48,6 +48,10 @@ stdenv.mkDerivation rec {
     '';
     homepage = "https://xmlgraphics.apache.org/fop/";
     license = licenses.asl20;
+    sourceProvenance = with sourceTypes; [
+      fromSource
+      binaryBytecode  # source bundles dependencies as jars
+    ];
     platforms = platforms.all;
     maintainers = with maintainers; [ bjornfor ];
   };