about summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/darwin/default.nix
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2022-05-28 17:40:04 +0200
committerThibault Gagnaux <tgagnaux@gmail.com>2022-05-28 17:40:04 +0200
commitfe949d64ef417ec254fea7d2ae022b1f78f4ad1e (patch)
tree7bcb1aa99ebdbb0c5e60ad79684a86ad673c33c9 /pkgs/applications/office/libreoffice/darwin/default.nix
parent56ce01eca397ece27f5073f7eee3e637e90b4d2a (diff)
libreoffice: rename libreoffice -> libreoffice-bin
Diffstat (limited to 'pkgs/applications/office/libreoffice/darwin/default.nix')
-rw-r--r--pkgs/applications/office/libreoffice/darwin/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/office/libreoffice/darwin/default.nix b/pkgs/applications/office/libreoffice/darwin/default.nix
index d1a47d4679119..5fdf2544ef465 100644
--- a/pkgs/applications/office/libreoffice/darwin/default.nix
+++ b/pkgs/applications/office/libreoffice/darwin/default.nix
@@ -10,7 +10,6 @@ let
   appName = "LibreOffice.app";
   scriptName = "soffice";
   version = "7.3.3";
-  common = import ../common.nix { inherit lib; };
 
   dist = {
     aarch64-darwin = rec {
@@ -30,7 +29,6 @@ let
 in
 stdenvNoCC.mkDerivation {
   inherit version;
-  inherit (import ../common.nix { inherit lib; }) meta;
   pname = "libreoffice";
   src = fetchurl {
     inherit (dist.${stdenvNoCC.hostPlatform.system} or
@@ -69,9 +67,16 @@ stdenvNoCC.mkDerivation {
         set -eou pipefail
 
         # reset version first so that both platforms are always updated and in sync
-        update-source-version libreoffice 0 ${lib.fakeSha256} --file=${currentFile} --system=aarch64-darwin
-        update-source-version libreoffice ${newVersion} ${newAarch64Sha256} --file=${currentFile} --system=aarch64-darwin
-        update-source-version libreoffice 0 ${lib.fakeSha256} --file=${currentFile} --system=x86_64-darwin
-        update-source-version libreoffice ${newVersion} ${newX86_64Sha256} --file=${currentFile} --system=x86_64-darwin
+        update-source-version libreoffice-bin 0 ${lib.fakeSha256} --file=${currentFile} --system=aarch64-darwin
+        update-source-version libreoffice-bin ${newVersion} ${newAarch64Sha256} --file=${currentFile} --system=aarch64-darwin
+        update-source-version libreoffice-bin 0 ${lib.fakeSha256} --file=${currentFile} --system=x86_64-darwin
+        update-source-version libreoffice-bin ${newVersion} ${newX86_64Sha256} --file=${currentFile} --system=x86_64-darwin
       '';
+  meta = with lib; {
+    description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org";
+    homepage = "https://libreoffice.org/";
+    license = licenses.lgpl3;
+    maintainers = with maintainers; [ tricktron ];
+    platforms = [ "x86_64-darwin" "aarch64-darwin" ];
+  };
 }