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:
parent
ae33b7daec
commit
9683e40bf1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user