cabal-sort 0.1.2.2 → 0.1.2.3
raw patch · 3 files changed
+23/−8 lines, 3 files
Files
- cabal-sort.cabal +14/−6
- src/CabalSort.hs +5/−1
- src/GhcPkgDep.hs +4/−1
cabal-sort.cabal view
@@ -1,6 +1,6 @@ Cabal-Version: 2.2 Name: cabal-sort-Version: 0.1.2.2+Version: 0.1.2.3 License: BSD-3-Clause License-File: LICENSE Author: Henning Thielemann <haskell@henning-thielemann.de>@@ -27,6 +27,10 @@ However, when the constraint solver in cabal-install fails you may still use cabal-sort for an automated build. .+ The program @cabal-sort@ may become relevant in future, again,+ because Cabal maintainers plan to remove @cabal v1-install@ feature,+ whereas @Setup install@ etc. shall remain.+ . For uploading a set of packages to Hackage in the right order you may run .@@ -90,15 +94,15 @@ Source-Repository this type: darcs location: https://hub.darcs.net/thielema/cabal-sort/- tag: 0.1.2.2+ tag: 0.1.2.3 Executable cabal-sort Build-Depends:- Cabal >=3.14 && <3.15,+ Cabal >=3.14 && <3.17, comfort-graph >=0.0.4 && <0.1, shell-utility >=0.1 && <0.2,- optparse-applicative >=0.18 && <0.19,+ optparse-applicative >=0.18 && <0.20, directory >=1 && <1.4, filepath >=1.1 && <1.6, containers >=0.2 && <0.9,@@ -110,12 +114,14 @@ Default-Language: Haskell98 Hs-source-dirs: src Main-Is: CabalSort.hs+ Other-Modules: Paths_cabal_sort+ Autogen-Modules: Paths_cabal_sort Executable ghc-pkg-dep Build-Depends:- Cabal >=1.22 && <3.15,+ Cabal >=1.22 && <3.17, shell-utility >=0.1 && <0.2,- optparse-applicative >=0.18 && <0.19,+ optparse-applicative >=0.18 && <0.20, process >=1.0 && <1.7, containers >=0.2 && <0.9, explicit-exception >=0.1.6 && <0.3,@@ -129,3 +135,5 @@ Default-Language: Haskell98 Hs-source-dirs: src Main-Is: GhcPkgDep.hs+ Other-Modules: Paths_cabal_sort+ Autogen-Modules: Paths_cabal_sort
src/CabalSort.hs view
@@ -13,6 +13,8 @@ import qualified Options.Applicative as OP import Shell.Utility.Exit (exitFailureMsg)+import qualified Paths_cabal_sort as Paths+import Data.Version (showVersion) import qualified System.FilePath as FilePath import System.FilePath ((</>))@@ -53,7 +55,9 @@ info p = OP.info (OP.helper <*>- OP.liftA2 (,) p (OP.many (OP.strArgument (OP.metavar "CABAL-FILE"))))+ (OP.simpleVersioner (showVersion Paths.version) <*>+ OP.liftA2 (,) p+ (OP.many (OP.strArgument (OP.metavar "CABAL-FILE"))))) (OP.fullDesc <> OP.progDesc "Topological sort of Cabal packages according to dependencies.")
src/GhcPkgDep.hs view
@@ -5,6 +5,8 @@ import qualified Options.Applicative as OP import Shell.Utility.Exit (exitFailureMsg)+import qualified Paths_cabal_sort as Paths+import Data.Version (showVersion) import qualified Distribution.Verbosity as Verbosity import qualified Distribution.ReadE as ReadE@@ -50,7 +52,8 @@ info p = OP.info (OP.helper <*>- OP.liftA2 (,) p (OP.many (OP.strArgument (OP.metavar "PKG-NAME"))))+ (OP.simpleVersioner (showVersion Paths.version) <*>+ OP.liftA2 (,) p (OP.many (OP.strArgument (OP.metavar "PKG-NAME"))))) (OP.fullDesc <> OP.progDesc "Find transitive dependences of installed GHC packages.")