softmaker-office, freeoffice: change version to edition.version

This makes the versioning compatible with Repology and other
distributions:

https://repology.org/project/freeoffice/versions
This commit is contained in:
Daniël de Kok 2020-07-21 08:13:31 +02:00
parent ae33b7daec
commit 9683e40bf1

View File

@ -17,8 +17,11 @@ let
inherit makeDesktopItem pname suiteName; inherit makeDesktopItem pname suiteName;
}; };
shortEdition = builtins.substring 2 2 edition; shortEdition = builtins.substring 2 2 edition;
in stdenv.mkDerivation rec { in stdenv.mkDerivation {
inherit pname version edition shortEdition src; inherit pname src;
version = "${edition}.${version}";
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
makeWrapper makeWrapper