packages feed

arch-web 0.1.0 → 0.1.1

raw patch · 3 files changed

+31/−16 lines, 3 filesdep ~aesondep ~lensdep ~mtlPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, lens, mtl, servant, servant-client, servant-client-core, text, time

API changes (from Hackage documentation)

+ Web.ArchLinux.Types: BSD :: License
+ Web.ArchLinux.Types: ISC :: License
+ Web.ArchLinux.Types: KDEUnstable :: Repo
+ Web.ArchLinux.Types: MIT :: License
+ Web.ArchLinux.Types: OFL :: License
+ Web.ArchLinux.Types: Python :: License
+ Web.ArchLinux.Types: ZLIB :: License

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # arch-web +## 0.1.1++* Add special case licenses+* Add [kde-unstable] repo+ ## 0.1.0  Initial release
arch-web.cabal view
@@ -1,6 +1,6 @@ cabal-version:   2.2 name:            arch-web-version:         0.1.0+version:         0.1.1 synopsis:        Arch Linux official and AUR web interface binding description:   Arch Linux official and AUR web interface binding.@@ -19,25 +19,24 @@   CHANGELOG.md   README.md -tested-with:-  GHC ==8.8.3 || ==8.8.4 || ==8.10.1 || ==8.10.2 || ==8.10.3+tested-with:     GHC ==8.10.7 || ==9.0.2  common common   build-depends:-    , aeson                ^>=1.5.4+    , aeson                ^>=1.5.4 || ^>=2.0     , base                 >=4.10   && <5     , deriving-aeson       ^>=0.2.6     , exceptions           ^>=0.10.4-    , http-client          ^>=0.6.4+    , http-client          ^>=0.6.4 || ^>=0.7.4     , http-client-tls      ^>=0.3.5     , http-types           ^>=0.12.3-    , lens                 ^>=4.19.2-    , mtl                  ^>=2.2.2-    , servant              ^>=0.18.2-    , servant-client       ^>=0.18.2-    , servant-client-core  ^>=0.18.2-    , text                 ^>=1.2.3-    , time                 ^>=1.9.3+    , lens                 ^>=4.19.2 || ^>=5+    , mtl+    , servant              >=0.18   && <=0.19+    , servant-client       >=0.18   && <=0.19+    , servant-client-core  >=0.18   && <=0.19+    , text+    , time    default-language:   Haskell2010   ghc-options:@@ -92,10 +91,13 @@ test-suite arch-web-test   import:         common   type:           exitcode-stdio-1.0-  build-depends:  arch-web, HUnit+  build-depends:+    , arch-web+    , HUnit+   hs-source-dirs: test   main-is:        Main.hs-  + source-repository head   type:     git   location: https://github.com/berberman/arch-web
src/Web/ArchLinux/Types.hs view
@@ -72,6 +72,7 @@   | MultilibTesting   | Community   | CommunityTesting+  | KDEUnstable   deriving stock (Show, Eq, Ord, Enum, Generic)   deriving (FromJSON, ToJSON) via CustomJSON '[ConstructorTagModifier CamelToKebab] Repo @@ -93,7 +94,8 @@ instance ToHttpApiData Arch where   toQueryParam = toQueryParamViaJSON --- | Liceses defined in <https://archlinux.org/packages/core/any/licenses/>.+-- | Liceses defined in <https://archlinux.org/packages/core/any/licenses/>,+-- plus special cases listed on the wiki <https://wiki.archlinux.org/title/PKGBUILD#license>. data License   = AGPL3   | Apache@@ -117,6 +119,12 @@   | Unlicense   | W3C   | ZPL+  | BSD+  | ISC+  | MIT+  | ZLIB+  | Python+  | OFL   | Custom Text   deriving stock (Show, Eq, Ord, Generic) @@ -209,7 +217,7 @@  -- | Search results returned by 'Web.ArchLinux.API.searchAur'. ----- Some of fileds are renamed in this record type, for sharing+-- Some of fields are renamed in this record type, for sharing -- overloaded lenses between data type returned by Arch Linux official API. data AurSearch = AurSearch   { _id :: Int,