Code Monkey home page Code Monkey logo

cpio-conduit's People

Contributors

cnr avatar da-x avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fossas cnr

cpio-conduit's Issues

tests/file.cpio missing from tarball

tests/file.cpio seems to be missing from cpio-conduit-0.7.0.tar.gz

:
Linking dist/build/cpio-test/cpio-test ...
> /tmp/stackage-build12/cpio-conduit-0.7.0$ dist/build/cpio-test/cpio-test
cpio-test: tests/file.cpio: openBinaryFile: does not exist (No such file or directory)

Hackage Release for 0.7.3

I see that version 0.7.3 is tagged here but there hasn't been a release to hackage. Is that something that would be possible in the future? For now I can reference the GH repo directly in cabal.project.

Thanks!

Package fails to build against `base16-bytestring==1.0.0.0`

In the jump from base16-bytestring==0.1.1.7 to base16-bytestring==1.0.0.0, it looks like there were breaking changes that affect this package:

[1 of 1] Compiling Data.CPIO        ( src/Data/CPIO.hs, dist/build/Data/CPIO.o, dist/build/Data/CPIO.dyn_o )

src/Data/CPIO.hs:125:8: error:
    • Couldn't match expected type ‘Either String ByteString’
                  with actual type ‘(ByteString, a1)’
    • In the pattern: (decoded, "")
      In a case alternative:
          (decoded, "")
            -> return $ runGet getWord32be $ BL.fromChunks [decoded]
      In a stmt of a 'do' block:
        case B16.decode v of
          (decoded, "")
            -> return $ runGet getWord32be $ BL.fromChunks [decoded]
          (_, _) -> E.throw (InvalidHex v)
    |
125 |        (decoded,  "") ->
    |        ^^^^^^^^^^^^^^

src/Data/CPIO.hs:127:8: error:
    • Couldn't match expected type ‘Either String ByteString’
                  with actual type ‘(a0, b0)’
    • In the pattern: (_, _)
      In a case alternative: (_, _) -> E.throw (InvalidHex v)
      In a stmt of a 'do' block:
        case B16.decode v of
          (decoded, "")
            -> return $ runGet getWord32be $ BL.fromChunks [decoded]
          (_, _) -> E.throw (InvalidHex v)
    |
127 |        (_, _) ->
    |        ^^^^^^

I can definitely open a PR for these changes if you'd like. And thanks a ton for this package; it's been really useful 🙂

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.