diff --git a/Database/Persist/Quasi.hs b/Database/Persist/Quasi.hs
--- a/Database/Persist/Quasi.hs
+++ b/Database/Persist/Quasi.hs
@@ -17,7 +17,14 @@
     }
 
 parse :: String -> [EntityDef]
-parse = map parse' . nest . map words' . filter (not . null) . lines
+parse = map parse' . nest . map words' . filter (not . null)
+      . map killCarriage . lines
+
+killCarriage :: String -> String
+killCarriage "" = ""
+killCarriage s
+    | last s == '\r' = init s
+    | otherwise = s
 
 words' :: String -> (Bool, [String])
 words' (' ':x) = (True, words x)
diff --git a/persistent.cabal b/persistent.cabal
--- a/persistent.cabal
+++ b/persistent.cabal
@@ -1,5 +1,5 @@
 name:            persistent
-version:         0.0.0
+version:         0.0.0.1
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
