summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-02-03 13:08:45 +0100
committerMichael Raskin <7c6f434c@mail.ru>2017-02-03 13:14:39 +0100
commitc20f5102eb908260b41a5576ac145e99bdade88e (patch)
treef83992e61c84ecaa2f3d40b768d5234ed092c89e /pkgs
parentae5a27983698efb89f0b176b82d55785d3522492 (diff)
downloadnixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar.gz
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar.bz2
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar.lz
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar.xz
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.tar.zst
nixpkgs-c20f5102eb908260b41a5576ac145e99bdade88e.zip
generate-libreoffice-srcs: support jars as well as tarballs
Diffstat (limited to 'pkgs')
-rwxr-xr-xpkgs/applications/office/libreoffice/generate-libreoffice-srcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
index 3d56c74e3ab..f77829da340 100755
--- a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
+++ b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
@@ -293,7 +293,7 @@ def interpret_tarball_with_md5(x):
                'md5': '48d647fbd8ef8889e5a7f422c1bfda94', 'brief': False}}
     """
 
-    match = {'key': re.match('^(.*)_TARBALL$', x['key']),
+    match = {'key': re.match('^(.*)_(TARBALL|JAR)$', x['key']),
              'value': re.match('(?P<md5>[0-9a-fA-F]{32})-(?P<tarball>.+)$',
                                x['value'])}