diff --git a/cabal2nix.cabal b/cabal2nix.cabal
--- a/cabal2nix.cabal
+++ b/cabal2nix.cabal
@@ -1,5 +1,5 @@
 Name:                   cabal2nix
-Version:                1.24
+Version:                1.25
 Copyright:              Peter Simons, Andres Loeh
 License:                BSD3
 License-File:           LICENSE
@@ -10,7 +10,7 @@
 Synopsis:               Convert Cabal files into Nix build instructions
 Cabal-Version:          >= 1.8
 Build-Type:             Simple
-Tested-With:            GHC == 6.12.3, GHC == 7.0.4, GHC == 7.2.1
+Tested-With:            GHC == 6.12.3, GHC == 7.0.4, GHC == 7.4.1
 Data-files:             README.md
 Description:
   The @cabal2nix@ utility converts Cabal files into Nix build instructions. The
@@ -31,8 +31,8 @@
   .
   The only required argument is the path to the cabal file. For example:
   .
-  > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.24/cabal2nix.cabal
-  > cabal2nix cabal://cabal2nix-1.24
+  > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.25/cabal2nix.cabal
+  > cabal2nix cabal://cabal2nix-1.25
   .
   If the @--sha256@ option has not been specified, cabal2nix calls
   @nix-prefetch-url@ to determine the hash automatically. This causes
diff --git a/src/Cabal2Nix/Name.hs b/src/Cabal2Nix/Name.hs
--- a/src/Cabal2Nix/Name.hs
+++ b/src/Cabal2Nix/Name.hs
@@ -34,6 +34,7 @@
 libNixName "gtk+-2.0"           = return "gtk"
 libNixName "gtksourceview-2.0"  = return "gtksourceview"
 libNixName "idn"                = return "idn"
+libNixName "jpeg"               = return "libjpeg"
 libNixName "libglade-2.0"       = return "libglade"
 libNixName "libidn"             = return "idn"
 libNixName "librsvg-2.0"        = return "librsvg"
@@ -41,6 +42,7 @@
 libNixName "m"                  = []  -- in stdenv
 libNixName "pangocairo"         = return "pango"
 libNixName "pcre"               = return "pcre"
+libNixName "png"                = return "libpng"
 libNixName "pq"                 = return "postgresql"
 libNixName "sndfile"            = return "libsndfile"
 libNixName "sqlite3"            = return "sqlite"
