mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
libreoffice: rename libreoffice -> libreoffice-bin
This commit is contained in:
parent
56ce01eca3
commit
fe949d64ef
@ -1,10 +0,0 @@
|
||||
{ lib }:
|
||||
{
|
||||
meta = with lib; {
|
||||
description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org";
|
||||
homepage = "https://libreoffice.org/";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ raskin tricktron ];
|
||||
platforms = platforms.linux ++ [ "x86_64-darwin" "aarch64-darwin" ];
|
||||
};
|
||||
}
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
@ -581,5 +581,11 @@ in
|
||||
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
inherit (import ./common.nix { inherit lib; }) meta;
|
||||
meta = with lib; {
|
||||
description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org";
|
||||
homepage = "https://libreoffice.org/";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}).overrideAttrs ((importVariant "override.nix") (args // { inherit kdeIntegration; }))
|
||||
|
@ -27772,9 +27772,10 @@ with pkgs;
|
||||
boost = boost175;
|
||||
};
|
||||
|
||||
libreoffice = if stdenv.isDarwin
|
||||
then callPackage ../applications/office/libreoffice/darwin { }
|
||||
else hiPrio libreoffice-still;
|
||||
libreoffice-bin = callPackage ../applications/office/libreoffice/darwin { };
|
||||
|
||||
libreoffice = hiPrio libreoffice-still;
|
||||
|
||||
libreoffice-unwrapped = (hiPrio libreoffice-still).libreoffice;
|
||||
|
||||
libreoffice-args = {
|
||||
|
Loading…
Reference in New Issue
Block a user