summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-09-21 18:33:49 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-09-21 18:33:49 +0200
commit7be4077832a14b7734b809d61f6b0b41efe1f5b9 (patch)
tree076e351abe9cb30ce871db76c937ac328f284a85 /pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
parent237d049f3e2a203e9c039f2f927a9fec796fcb84 (diff)
downloadnixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar.gz
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar.bz2
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar.lz
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar.xz
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.tar.zst
nixlib-7be4077832a14b7734b809d61f6b0b41efe1f5b9.zip
libreoffice: fix symlinking of the tarballs. The tarballs' outputHash is now sha256, but LibreOffice build process expects them to be available by md5-prefixed names
Diffstat (limited to 'pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py')
-rwxr-xr-xpkgs/applications/office/libreoffice/generate-libreoffice-srcs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
index a32a692675e1..3d56c74e3ab8 100755
--- a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
+++ b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py
@@ -37,6 +37,8 @@ def main():
         print('    name = "{}";'.format(tarball))
         print('    url = "{}";'.format(url))
         print('    sha256 = "{}";'.format(sha256))
+        print('    md5 = "{}";'.format(md5))
+        print('    md5name = "{}-{}";'.format(md5,tarball))
         print('  }')
 
     print(']')