diff options
Diffstat (limited to 'src/package.nim')
-rw-r--r-- | src/package.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package.nim b/src/package.nim index 3e2c6f7..7ad89bd 100644 --- a/src/package.nim +++ b/src/package.nim @@ -31,6 +31,7 @@ type maintainer*: Option[string] firstSubmitted*: Option[int64] lastModified*: Option[int64] + outOfDate*: Option[int64] votes*: int popularity*: float gitUrl*: string @@ -312,6 +313,7 @@ proc parseSrcInfoName(repo: string, name: string, baseIndex: int, baseCount: int maintainer: info.map(i => i.maintainer).flatten, firstSubmitted: info.map(i => i.firstSubmitted).flatten, lastModified: info.map(i => i.lastModified).flatten, + outOfDate: info.map(i => i.outOfDate).flatten, votes: info.map(i => i.votes).get(0), popularity: info.map(i => i.popularity).get(0), gitUrl: gitUrl, gitSubdir: gitSubdir) | |