mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
18 lines
408 B
Nix
18 lines
408 B
Nix
{ fetchurl }:
|
|
|
|
rec {
|
|
major = "6";
|
|
minor = "1";
|
|
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";
|
|
sha256 = "650c57b60f880db28e49e584f42018da9e714865dfa94fbb8391de15b58a3f91";
|
|
};
|
|
}
|