nixpkgs/pkgs/development/libraries/sqlite/archive-version.nix
Will Dietz 232bc96376 Revert "sqlite{,-analyzer}: use the same src (#40945)"
This reverts commit e28a586f94e77f22d943288ad84f88be23c587f8.
2018-05-27 00:43:26 -05:00

12 lines
188 B
Nix

lib: version:
with lib;
let
fragments = splitString "." version;
major = head fragments;
minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
in
major + minor + "00"