2018-05-27 07:43:26 +02:00
|
|
|
lib: version:
|
|
|
|
|
|
|
|
with lib;
|
2019-09-24 11:24:13 +02:00
|
|
|
|
2018-05-27 07:43:26 +02:00
|
|
|
let
|
2019-09-24 11:24:13 +02:00
|
|
|
fragments = splitVersion version;
|
2018-05-27 07:43:26 +02:00
|
|
|
major = head fragments;
|
|
|
|
minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
|
|
|
|
in
|
|
|
|
|
|
|
|
major + minor + "00"
|