diff --git a/cabal2nix.cabal b/cabal2nix.cabal
--- a/cabal2nix.cabal
+++ b/cabal2nix.cabal
@@ -1,5 +1,5 @@
 Name:                   cabal2nix
-Version:                1.20
+Version:                1.21
 Copyright:              Peter Simons, Andres Loeh
 License:                BSD3
 License-File:           LICENSE
@@ -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.19/cabal2nix.cabal
-  > cabal2nix cabal://cabal2nix-1.19
+  > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.21/cabal2nix.cabal
+  > cabal2nix cabal://cabal2nix-1.21
   .
   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
@@ -47,6 +47,7 @@
 libNixName "stdc++"             = []  -- in stdenv
 libNixName "X11"                = return "libX11"
 libNixName "xft"                = return "libXft"
+libNixName "Xrandr"             = return "libXrandr"
 libNixName "z"                  = return "zlib"
 libNixName x                    = return x
 
