packages feed

cabal-db 0.1.8 → 0.1.9

raw patch · 2 files changed

+4/−1 lines, 2 files

Files

Src/Main.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE BangPatterns #-} {-# LANGUAGE ViewPatterns #-}+{-# LANGUAGE CPP #-} import Distribution.PackageDescription.Parse import Distribution.PackageDescription.Configuration import Distribution.PackageDescription hiding (options)@@ -339,7 +340,9 @@          ppLicense (GPL (Just (Version [v] [])))    = ("GPLv" ++ show v, PP.yellow)         ppLicense (GPL Nothing)                    = ("GPL", PP.yellow)+#if MIN_VERSION_Cabal(1,18,0)         ppLicense (AGPL (Just (Version [v] [])))   = ("AGPLv" ++ show v, PP.yellow)+#endif         ppLicense (LGPL (Just (Version [v] [])))   = ("LGPLv" ++ show v, PP.yellow)         ppLicense (Apache (Just (Version [v] []))) = ("Apache" ++ show v, PP.green)         ppLicense (UnknownLicense s)               = (s, PP.red)
cabal-db.cabal view
@@ -1,5 +1,5 @@ Name:                cabal-db-Version:             0.1.8+Version:             0.1.9 Synopsis:            query tools for the local cabal database (revdeps, graph, info, search-by, license, bounds) Description:     Query tool for the local cabal database