diff --git a/flatpak/libsox-14.4.2.json b/flatpak/libsox-14.4.2.json
new file mode 100644
--- /dev/null
+++ b/flatpak/libsox-14.4.2.json
@@ -0,0 +1,23 @@
+{
+    "cleanup": [
+        "/bin",
+        "/include",
+        "/lib/libsox.la",
+        "/lib/pkgconfig",
+        "/share"
+    ],
+    "config-opts": [
+        "--enable-shared",
+        "--disable-static"
+    ],
+    "sources": [
+        {
+            "url": "https://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.bz2",
+            "type": "archive",
+            "sha256": "81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c"
+        }
+    ],
+    "name": "libsox-14.4.2",
+    "buildsystem": "autotools",
+    "builddir": false
+}
diff --git a/soxlib.cabal b/soxlib.cabal
--- a/soxlib.cabal
+++ b/soxlib.cabal
@@ -1,5 +1,5 @@
 Name:             soxlib
-Version:          0.0.3.1
+Version:          0.0.3.2
 License:          BSD3
 License-File:     LICENSE
 Author:           Henning Thielemann <haskell@henning-thielemann.de>
@@ -16,19 +16,20 @@
    The package @sox@ has similar functionality
    but calls the @sox@ shell command.
 Tested-With:       GHC==6.12.3, GHC==7.4.1
-Cabal-Version:     >=1.8
+Cabal-Version:     >=1.10
 Build-Type:        Simple
 Extra-Source-Files:
   src/Sound/SoxLib/Template.h
+  flatpak/libsox-14.4.2.json
 
 Source-Repository this
-  Tag:         0.0.3.1
+  Tag:         0.0.3.2
   Type:        darcs
-  Location:    http://hub.darcs.net/thielema/soxlib/
+  Location:    https://hub.darcs.net/thielema/soxlib/
 
 Source-Repository head
   Type:        darcs
-  Location:    http://hub.darcs.net/thielema/soxlib/
+  Location:    https://hub.darcs.net/thielema/soxlib/
 
 Flag buildExamples
   description: Build example executables
@@ -38,14 +39,15 @@
   Build-Depends:
     sample-frame >=0.0.1 && <0.1,
     storablevector >=0.2.10 && <0.3,
-    bytestring >=0.9 && <0.11,
-    explicit-exception >=0.1.3 && < 0.2,
+    bytestring >=0.9 && <0.12,
+    explicit-exception >=0.1.3 && < 0.3,
     -- that's the way to get compatibility between GHC 6.10 and 6.12
     extensible-exceptions >=0.1.1 && <0.2,
-    transformers >=0.2 && <0.6,
+    transformers >=0.2 && <0.7,
     utility-ht >=0.0.5 && <0.1,
     base >=4 && <5
 
+  Default-Language: Haskell98
   GHC-Options: -Wall
   Hs-Source-Dirs: src
   Include-Dirs: src
@@ -66,4 +68,5 @@
       base >=4 && <5
   Else
     Buildable: False
+  Default-Language: Haskell98
   GHC-Options: -Wall
