Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
715 B
Nix
33 lines
715 B
Nix
{
|
|
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 = "1220";
|
|
edition = "2024";
|
|
hash = "sha256-F1Srm3/4UPifYls21MhjbpxSyLaT0gEVzEMQF0gIzi0=";
|
|
},
|
|
|
|
...
|
|
}@args:
|
|
|
|
callPackage ./generic.nix (
|
|
args
|
|
// rec {
|
|
inherit (officeVersion) version edition;
|
|
|
|
pname = "freeoffice";
|
|
suiteName = "FreeOffice";
|
|
|
|
src = fetchurl {
|
|
inherit (officeVersion) hash;
|
|
url = "https://www.softmaker.net/down/softmaker-freeoffice-${edition}-${version}-amd64.tgz";
|
|
};
|
|
|
|
archive = "freeoffice${edition}.tar.lzma";
|
|
}
|
|
)
|