os-release 1.0.0 → 1.0.1
raw patch · 3 files changed
+10/−5 lines, 3 filesdep ~basedep ~hspec-megaparsecdep ~megaparsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, hspec-megaparsec, megaparsec
API changes (from Hackage documentation)
Files
- ChangeLog.rst +5/−0
- library/System/OsRelease.hs +1/−1
- os-release.cabal +4/−4
ChangeLog.rst view
@@ -1,3 +1,8 @@+1.0.1+=====++- Allow to build on ghc-8.0.2 and 8.2.2+ 1.0.0 =====
library/System/OsRelease.hs view
@@ -139,7 +139,7 @@ -- file contents. getAllAssignments :: String -- ^ file contents of os-release -> [Either (MP.ParseError String Void) (String, String)]-getAllAssignments = fromRight [] . MP.parse parseAssignments "os-release"+getAllAssignments = either (const []) (\x -> x) . MP.parse parseAssignments "os-release" -- | Parse the assignments into `OsRelease`. This is merged with the
os-release.cabal view
@@ -9,7 +9,7 @@ homepage: https://github.com/yaccz/os-release name: os-release synopsis: /etc/os-release helpers-version: 1.0.0+version: 1.0.1 description: \/etc\/os-release helpers as per the freedesktop spec: https://www.freedesktop.org/software/systemd/man/os-release.html @@ -29,7 +29,7 @@ location: https://github.com/yaccz/os-release.git common base- build-depends: base >=4.11 && <5+ build-depends: base >=4.9 && <5 common bytestring build-depends: bytestring@@ -44,10 +44,10 @@ build-depends: hspec >=2.7.1 common hspec-megaparsec- build-depends: hspec-megaparsec >=2.1.0+ build-depends: hspec-megaparsec >=1.1.0 common megaparsec- build-depends: megaparsec >=8.0.0+ build-depends: megaparsec >=7.0.5 common pretty-simple build-depends: pretty-simple >=1.0.0.0