nixpkgs/pkgs/applications/office/libreoffice/default-primary-src.nix

18 lines
396 B
Nix
Raw Normal View History

{ fetchurl }:
rec {
major = "6";
minor = "0";
2018-03-02 07:25:18 +00:00
patch = "2";
tweak = "1";
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";
2018-03-02 07:25:18 +00:00
sha256 = "0qga01lhh09jf2gx3czk66i5c854gzzjxgkrmj5d7m4ci2zaxfsd";
};
}