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

18 lines
408 B
Nix
Raw Normal View History

{ fetchurl }:
rec {
major = "6";
minor = "1";
2018-09-29 16:44:47 +01: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-09-29 16:44:47 +01:00
sha256 = "650c57b60f880db28e49e584f42018da9e714865dfa94fbb8391de15b58a3f91";
};
}