packages feed

hleap 0.1.2.7 → 0.2.0.0

raw patch · 9 files changed

+96/−76 lines, 9 filesdep ~aesondep ~basedep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, base, containers, data-default, mtl, text, unordered-containers, websockets

API changes (from Hackage documentation)

- System.Hardware.Leap: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Version
- System.Hardware.Leap.Event: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Event.State
- System.Hardware.Leap.Event: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (System.Hardware.Leap.Event.Event a)
- System.Hardware.Leap.Event: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (System.Hardware.Leap.Event.InteractionBox a)
- System.Hardware.Leap.Event.Gesture: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Event.Gesture.State
- System.Hardware.Leap.Event.Gesture: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (System.Hardware.Leap.Event.Gesture.Gesture a)
- System.Hardware.Leap.Event.Hand: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Event.Hand.Side
- System.Hardware.Leap.Event.Hand: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (System.Hardware.Leap.Event.Hand.Hand a)
- System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Event.Pointable.Finger
- System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.Class.FromJSON System.Hardware.Leap.Event.Pointable.TouchZone
- System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (System.Hardware.Leap.Event.Pointable.Pointable a)
+ System.Hardware.Leap: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Version
+ System.Hardware.Leap.Event: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Event.State
+ System.Hardware.Leap.Event: instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Hardware.Leap.Event.Event a)
+ System.Hardware.Leap.Event: instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Hardware.Leap.Event.InteractionBox a)
+ System.Hardware.Leap.Event.Gesture: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Event.Gesture.State
+ System.Hardware.Leap.Event.Gesture: instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Hardware.Leap.Event.Gesture.Gesture a)
+ System.Hardware.Leap.Event.Hand: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Event.Hand.Side
+ System.Hardware.Leap.Event.Hand: instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Hardware.Leap.Event.Hand.Hand a)
+ System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Event.Pointable.Finger
+ System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.FromJSON.FromJSON System.Hardware.Leap.Event.Pointable.TouchZone
+ System.Hardware.Leap.Event.Pointable: instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (System.Hardware.Leap.Event.Pointable.Pointable a)
- System.Hardware.Leap: type ClientApp a = Connection The Web Socet connection. -> IO a Action for the client application.
+ System.Hardware.Leap: type ClientApp a = Connection " The Web Socet connection." -> IO a " Action for the client application."
- System.Hardware.Leap: type Handler a = Event a The event. -> IO () The action for handling the event.
+ System.Hardware.Leap: type Handler a = Event a " The event." -> IO () " The action for handling the event."

Files

+ default.nix view
@@ -0,0 +1,20 @@+{+  mkDerivation, stdenv+, aeson, base, containers, data-default, mtl, text, unordered-containers, websockets+}:++mkDerivation {+  pname = "hleap";+  version = "0.2.0.0";+  src = ./.;+  isLibrary = true;+  isExecutable = true;+  libraryHaskellDepends = [+    aeson base containers data-default mtl text unordered-containers websockets+  ];+  executableHaskellDepends = [+  ];+  homepage = "https://bitbucket.org/functionally/hleap";+  description = "Web Socket interface to Leap Motion controller";+  license = stdenv.lib.licenses.mit;+}
hleap.cabal view
@@ -1,58 +1,64 @@-name:                hleap-version:             0.1.2.7-synopsis:            Web Socket interface to Leap Motion controller-description:         This Haskell package contains functions for interfacing with Leap Motion controllers, \<<https://www.leapmotion.com/product/desktop>\>.  It is based on the WebSocket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\> and inspired by \<<https://bitbucket.org/turion/jedinight/>\>.--license:             MIT-license-file:        LICENSE-author:              Brian W Bush <consult@brianwbush.info>-maintainer:          Brian W Bush <consult@brianwbush.info>-copyright:           (c) 2016 Brian W Bush-category:            Hardware-build-type:          Simple-cabal-version:       >= 1.10-stability:           Stable-homepage:            https://bitbucket.org/functionally/hleap-bug-reports:         https://bwbush.atlassian.net/projects/HLEAP/issues/-package-url:         https://bitbucket.org/functionally/hleap/downloads/hleap-0.1.2.7.tar.gz+name         : hleap+version      : 0.2.0.0+synopsis     : Web Socket interface to Leap Motion controller+description  : This Haskell package contains functions for interfacing with Leap Motion controllers, \<<https://www.leapmotion.com/product/desktop>\>.  It is based on the WebSocket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\> and inspired by \<<https://bitbucket.org/turion/jedinight/>\>.+license      : MIT+license-file : LICENSE+author       : Brian W Bush <code@functionally.io>+maintainer   : Brian W Bush <code@functionally.io>+copyright    : (c) 2016-19 Brian W Bush+category     : Hardware+build-type   : Simple+cabal-version: >= 1.10+stability    : Stable+homepage     : https://bitbucket.org/functionally/hleap+bug-reports  : https://bwbush.atlassian.net/projects/HLEAP/issues/+package-url  : https://bitbucket.org/functionally/hleap/downloads/hleap-$version.tar.gz -extra-source-files:  ReadMe.md+extra-source-files: ReadMe.md+                    default.nix  source-repository head-  type: git+  type    : git   location: https://bitbucket.org/functionally/hleap.git   library-  build-depends:       base                 >= 4.8 && < 5-               ,       aeson                >= 0.10.0.0-               ,       containers           >= 0.5.6.2-               ,       data-default         >= 0.5.3-               ,       mtl                  >= 2.2.1-               ,       text                 >= 1.2.1.3-               ,       unordered-containers >= 0.2.5.1-               ,       websockets           >= 0.9.6.1-  exposed-modules:     System.Hardware.Leap-                       System.Hardware.Leap.Event-                       System.Hardware.Leap.Event.Gesture-                       System.Hardware.Leap.Event.Hand-                       System.Hardware.Leap.Event.Pointable-                       System.Hardware.Leap.Types-  hs-source-dirs:   src-  exposed:          True-  buildable:        True-  ghc-options:      -Wall+  exposed-modules : System.Hardware.Leap+                    System.Hardware.Leap.Event+                    System.Hardware.Leap.Event.Gesture+                    System.Hardware.Leap.Event.Hand+                    System.Hardware.Leap.Event.Pointable+                    System.Hardware.Leap.Types+  build-depends   : base                 >= 4.8 && < 5+                  , aeson                >= 1.3.1+                  , containers           >= 0.5.10+                  , data-default         >= 0.7.1+                  , mtl                  >= 2.2.2+                  , text                 >= 1.2.3+                  , unordered-containers >= 0.2.9+                  , websockets           >= 0.12.5+  hs-source-dirs  : src+  exposed         : True+  buildable       : True+  ghc-options     : -Wall   default-language: Haskell2010  executable leap-tracker-  main-is:             Main.hs-  build-depends:       base >=4.8 && <4.9-               ,       aeson-               ,       containers-               ,       data-default-               ,       mtl-               ,       text-               ,       unordered-containers-               ,       websockets-  hs-source-dirs:      src-  ghc-options:         -Wall-  default-language:    Haskell2010+  main-is         : Main.hs+  other-modules   : System.Hardware.Leap+                    System.Hardware.Leap.Event+                    System.Hardware.Leap.Event.Gesture+                    System.Hardware.Leap.Event.Hand+                    System.Hardware.Leap.Event.Pointable+                    System.Hardware.Leap.Types+  build-depends   : base                 >= 4.8 && < 5+                  , aeson                >= 1.3.1+                  , containers           >= 0.5.10+                  , data-default         >= 0.7.1+                  , mtl                  >= 2.2.2+                  , text                 >= 1.2.3+                  , unordered-containers >= 0.2.9+                  , websockets           >= 0.12.5+  hs-source-dirs  : src+  ghc-options     : -Wall+  default-language: Haskell2010
src/Main.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  Main-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Tracing events from Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. -}
src/System/Hardware/Leap.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  System.Hardware.Leap-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Interaction with Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. 
src/System/Hardware/Leap/Event.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  System.Hardware.Leap.Event-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Events for Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. -}
src/System/Hardware/Leap/Event/Gesture.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  System.Hardware.Leap.Event.Gesture-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Gesture events for Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. -}
src/System/Hardware/Leap/Event/Hand.hs view
@@ -1,8 +1,8 @@ {-|-Module      :  System.Hardware.Leap.Event.Hand-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable 
src/System/Hardware/Leap/Event/Pointable.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  System.Hardware.Leap.Event.Pointable-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Pointable events for Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. -}
src/System/Hardware/Leap/Types.hs view
@@ -1,11 +1,10 @@ {-|-Module      :  System.Hardware.Leap.Event.Types-Copyright   :  (c) 2016 Brian W Bush+Module      :  $Header$+Copyright   :  (c) 2016-19 Brian W Bush License     :  MIT-Maintainer  :  Brian W Bush <consult@brianwbush.info>+Maintainer  :  Brian W Bush <code@functionally.io> Stability   :  Stable Portability :  Portable-  Types for Leap Motion \<<https://www.leapmotion.com/product/desktop>\>, based on the Web Socket API \<<https://developer.leapmotion.com/documentation/javascript/supplements/Leap_JSON.html>\>. -}