2016-09-17 00:24:04 +01:00
|
|
|
{ fetchurl }:
|
|
|
|
|
|
|
|
rec {
|
|
|
|
major = "5";
|
2018-02-27 06:42:29 +00:00
|
|
|
minor = "4";
|
2018-06-24 15:08:35 +01:00
|
|
|
patch = "7";
|
2018-03-23 09:22:53 +00:00
|
|
|
tweak = "2";
|
2016-09-17 00:24:04 +01:00
|
|
|
|
|
|
|
subdir = "${major}.${minor}.${patch}";
|
|
|
|
|
|
|
|
version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-27 06:42:29 +00:00
|
|
|
url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
|
2018-06-24 15:08:35 +01:00
|
|
|
sha256 = "0s9s4nhp2whwxis54jbxrf1dwpnpl95b9781d1pdj4xk5z9v90fv";
|
2016-09-17 00:24:04 +01:00
|
|
|
};
|
|
|
|
}
|