diff --git a/dead-code-detection.cabal b/dead-code-detection.cabal
--- a/dead-code-detection.cabal
+++ b/dead-code-detection.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           dead-code-detection
-version:        0.4.0.1
+version:        0.5
 synopsis:       detect dead code in haskell projects
 description:    detect dead code in haskell projects
 category:       Development
diff --git a/src/Ast.hs b/src/Ast.hs
--- a/src/Ast.hs
+++ b/src/Ast.hs
@@ -137,7 +137,7 @@
 
 instance NameGraph (HsGroup Name) where
   nameGraph = \ case
-    HsGroup valBinds [] tyclds _instances [] [] [] foreign_decls [] [] [] [] [] ->
+    HsGroup valBinds [] tyclds _instances _standaloneInstances [] [] foreign_decls [] [] [] [] [] ->
       nameGraph valBinds ++
       nameGraph tyclds ++
       nameGraph foreign_decls
diff --git a/test/AstSpec.hs b/test/AstSpec.hs
--- a/test/AstSpec.hs
+++ b/test/AstSpec.hs
@@ -166,6 +166,15 @@
       |] $ do
         (usageGraph <$> parseStringGraph ["Foo.hs"]) `shouldReturn` []
 
+    it "ignores standalone deriving instances" $ do
+      withFoo [i|
+        {-# LANGUAGE StandaloneDeriving #-}
+        module Foo where
+        data Foo = Foo
+        deriving instance Show Foo
+      |] $ do
+        (usageGraph <$> parseStringGraph ["Foo.hs"]) `shouldReturn` [("Foo.Foo", [])]
+
     context "PatBind" $ do
       it "can parse pattern binding" $ do
         withFooHeader [i|
