softmaker-office-nx: init at 1222 (#366490)

This commit is contained in:
Gaétan Lepage
2024-12-21 01:38:36 +01:00
committed by GitHub
4 changed files with 48 additions and 3 deletions
@@ -46,7 +46,7 @@ in
stdenv.mkDerivation {
inherit pname src;
version = "${edition}.${version}";
version = if edition != "" then "${edition}.${version}" else version;
nativeBuildInputs = [
autoPatchelfHook
@@ -0,0 +1,32 @@
{
callPackage,
fetchurl,
# This is a bit unusual, but makes version and hash easily
# overridable. This is useful when the upstream archive was replaced
# and nixpkgs is not in sync yet.
officeVersion ? {
version = "1222";
edition = "";
hash = "sha256-8ya9RYpd9G5SITYOpvhxjQE8ieV8TuAApkjNwCf9nHs=";
},
...
}@args:
callPackage ./generic.nix (
args
// rec {
inherit (officeVersion) version edition;
pname = "softmaker-office-nx";
suiteName = "SoftMaker Office NX";
src = fetchurl {
inherit (officeVersion) hash;
url = "https://www.softmaker.net/down/softmaker-office-nx-${version}-amd64.tgz";
};
archive = "officenx.tar.lzma";
}
)
+15 -2
View File
@@ -13937,7 +13937,12 @@ with pkgs;
jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
};
freeoffice = callPackage ../applications/office/softmaker/freeoffice.nix { };
inherit
({
freeoffice = callPackage ../applications/office/softmaker/freeoffice.nix { };
})
freeoffice
;
inherit (xorg) xlsfonts;
@@ -14950,7 +14955,15 @@ with pkgs;
smtube = libsForQt5.callPackage ../applications/video/smtube { };
softmaker-office = callPackage ../applications/office/softmaker/softmaker_office.nix { };
inherit
({
softmaker-office = callPackage ../applications/office/softmaker/softmaker-office.nix { };
softmaker-office-nx = callPackage ../applications/office/softmaker/softmaker-office-nx.nix { };
})
softmaker-office
softmaker-office-nx
;
synapse-bt = callPackage ../applications/networking/p2p/synapse-bt {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;