We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69a6992 commit e2718dbCopy full SHA for e2718db
src/Distribution/ArchLinux/AUR/Types.hs
@@ -87,7 +87,7 @@ data AURInfo = AURInfo {
87
, packageMaintainer :: Maybe Text
88
, packageFirstSubmitted :: Int
89
, packageLastModified :: Int
90
- , packageURLPath :: Text
+ , packageURLPath :: Maybe Text
91
, packageDepends :: [Text]
92
, packageMakeDepends :: [Text]
93
, packageOptDepends :: [Text]
@@ -111,7 +111,7 @@ instance FromJSON AURInfo where
111
<*> v .:? "Maintainer"
112
<*> v .: "FirstSubmitted"
113
<*> v .: "LastModified"
114
- <*> v .: "URLPath"
+ <*> v .:? "URLPath"
115
<*> v .:! "Depends" .!= []
116
<*> v .:! "MakeDepends" .!= []
117
<*> v .:! "OptDepends" .!= []
0 commit comments