]> woffs.de Git - fd/haskell-amqp-utils.git/blobdiff - amqp-utils.cabal
update reuse compat
[fd/haskell-amqp-utils.git] / amqp-utils.cabal
index 4c8d586af8927d4cc3fb897f2591c0d611e91267..82029605f96aa416e31149c8b63c62151b2c15fa 100644 (file)
@@ -1,19 +1,27 @@
+-- SPDX-FileCopyrightText: 2022 Frank Doepper
+--
+-- SPDX-License-Identifier: GPL-3.0-only
+
 name:                amqp-utils
 
-version:             0.3.1.3
+version:             0.6.6.0
 
-synopsis:            Generic Haskell AMQP Consumer
+synopsis:            AMQP toolset for the command line
 
-description:         AMQP consumer which can
-  - create a temporary queue and attach it to an exchange, or
-  - attach to an existing queue;
-  - display header and body info;
-  - save message bodies to files;
-  - call a callback script
+description:         AMQP tools consisting of:
+  AMQP consumer which can
+  create a temporary queue and attach it to an exchange, or
+  attach to an existing queue;
+  display header and body info;
+  save message bodies to files;
+  call a callback script.
+  AMQP publisher with file, line-by-line and
+  hotfolder capabilities.
+  AMQP rpc client and server.
 
 license:             GPL-3
 
-license-file:        LICENSE
+license-file:        LICENSES/GPL-3.0-only.txt
 
 author:              Frank Doepper
 
@@ -27,25 +35,28 @@ extra-source-files:  ChangeLog.md, README.md
 
 cabal-version:       >=1.10
 
-Tested-With: GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.2
-
 executable konsum
   main-is:             konsum.hs
-  build-depends:       base >=4.6 && <5,
+  build-depends:       base >= 4.6 && <5,
                        containers,
                        text,
-                       connection,
+                       crypton-connection,
                        data-default-class,
                        time,
                        process,
+                       directory,
                        bytestring,
-                       x509-system,
-                       tls,
-                       amqp >=0.17
-  
+                       utf8-string,
+                       filepath-bytestring,
+                       crypton-x509-system,
+                       network > 2.6,
+                       tls >= 1.7.0,
+                       amqp >= 0.22.2,
+                       unix >= 2.8
+
   ghc-options:         -threaded -Wall
-  
-  default-language:    Haskell98
+
+  default-language:    Haskell2010
 
   other-modules:       Network.AMQP.Utils.Options,
                        Network.AMQP.Utils.Helpers,
@@ -54,31 +65,93 @@ executable konsum
 
 executable agitprop
   main-is:             agitprop.hs
-  build-depends:       base >=4.6 && <5,
+  build-depends:       base >= 4.6 && <5,
                        containers,
                        text,
-                       connection,
+                       crypton-connection,
                        data-default-class,
                        time,
                        process,
+                       directory,
+                       filepath,
                        bytestring,
-                       x509-system,
-                       tls,
-                       amqp >=0.17,
-                       unix >= 2.7,
-                       hinotify >= 0.3.8 && < 0.3.10,
+                       utf8-string,
+                       rawfilepath,
+                       filepath-bytestring,
+                       crypton-x509-system,
+                       network > 2.6,
+                       tls >= 1.7.0,
+                       amqp >= 0.22.2,
+                       unix >= 2.8,
                        magic
-  
+  if os(linux)
+    build-depends:     hinotify >= 0.3.10
+
+  ghc-options:         -threaded -Wall
+
+  default-language:    Haskell2010
+
+  other-modules:       Network.AMQP.Utils.Options,
+                       Network.AMQP.Utils.Helpers,
+                       Network.AMQP.Utils.Connection,
+                       Paths_amqp_utils
+
+executable plane
+  main-is:             plane.hs
+  build-depends:       base >=4.6 && <5,
+                       containers,
+                       text,
+                       crypton-connection,
+                       data-default-class,
+                       time,
+                       process,
+                       directory,
+                       bytestring,
+                       utf8-string,
+                       filepath-bytestring,
+                       crypton-x509-system,
+                       network > 2.6,
+                       tls >= 1.7.0,
+                       amqp >=0.22.2,
+                       unix >= 2.8
+
   ghc-options:         -threaded -Wall
-  
-  default-language:    Haskell98
+
+  default-language:    Haskell2010
 
   other-modules:       Network.AMQP.Utils.Options,
                        Network.AMQP.Utils.Helpers,
                        Network.AMQP.Utils.Connection,
                        Paths_amqp_utils
 
+executable arbeite
+  main-is:             arbeite.hs
+  build-depends:       base >= 4.6 && <5,
+                       containers,
+                       text,
+                       crypton-connection,
+                       data-default-class,
+                       time,
+                       process,
+                       directory,
+                       bytestring,
+                       utf8-string,
+                       filepath-bytestring,
+                       crypton-x509-system,
+                       network > 2.6,
+                       tls >= 1.7.0,
+                       amqp >= 0.22.2,
+                       unix >= 2.8
+
+  ghc-options:         -threaded -Wall
+
+  default-language:    Haskell2010
+
+  other-modules:       Network.AMQP.Utils.Options,
+                       Network.AMQP.Utils.Helpers,
+                       Network.AMQP.Utils.Connection,
+                       Paths_amqp_utils
 
 source-repository head
   type:                git
-  location:            git://github.com/woffs/haskell-amqp-utils
+  location:            git://woffs.de/git/fd/haskell-amqp-utils.git
don't click here