repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
sqlite
/
archive-version.nix
blob
601bb6a5889fbdc7d7403ee99ef5b89c77634543
1
lib: version:
2
3
let
4
fragments = lib.splitVersion version;
5
major = lib.head fragments;
6
minor = lib.concatMapStrings (lib.fixedWidthNumber 2) (lib.tail fragments);
7
in
8
9
major + minor + "00"