72cf7f513d
* libreoffice-still: -> 6.0.6.2 * (newer than our current 'fresh!') * libreoffice-fresh: -> 6.1.0.3 * 6.1.1(.1) is currently pre-release, FWIW * Use normal gcc, not gcc5 * dropping 'glibc' from buildInputs fixed this (?) * remove many fixes/touchups/workarounds/hacks * hopefully everything still works for everyone * disable online update since that seems unlikely to work anyway * fix autogen/configure invocations * disable libnumbertext in 6.1.x since not packaged * drop 'touch solenv/inc/target.mk' as unclear what it was for and doesn't seem to be currently needed * cleanup link gen a bit[1] * split checks to check phase [1] primary motivation was to stop creating links like: 'libreoffice-6.0.5.2/src/-libxslt-1.1.32.tar.gz' -> '/nix/store/503v5hmhm430bld0h078gacmkniwdllr-libxslt-1.1.32.tar.gz' 'libreoffice-6.0.5.2/src/libxslt-1.1.32.tar.gz' -> '/nix/store/503v5hmhm430bld0h078gacmkniwdllr-libxslt-1.1.32.tar.gz' This is mostly accomplished by simply using the 'md5name' field which the python script kindly generates for us (including the use of non-md5 if md5 is not set or empty).
18 lines
408 B
Nix
18 lines
408 B
Nix
{ fetchurl }:
|
|
|
|
rec {
|
|
major = "6";
|
|
minor = "0";
|
|
patch = "6";
|
|
tweak = "2";
|
|
|
|
subdir = "${major}.${minor}.${patch}";
|
|
|
|
version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
|
|
sha256 = "f1666430abf616a3813e4c886b51f157366f592102ae0e874abc17f3d58c6a8e";
|
|
};
|
|
}
|