From bbc37b540d908dce742dfe4f70ce005baa36d8ca Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 29 Oct 2023 08:42:39 +0000 Subject: automatic import of ghc-ipynb --- ipynb.cabal | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 ipynb.cabal (limited to 'ipynb.cabal') diff --git a/ipynb.cabal b/ipynb.cabal new file mode 100755 index 0000000..d904da3 --- /dev/null +++ b/ipynb.cabal @@ -0,0 +1,54 @@ +name: ipynb +version: 0.2 +x-revision: 1 +synopsis: Data structure for working with Jupyter notebooks (ipynb). +description: ipynb defines a data structure for representing Jupyter + notebooks, along with ToJSON and FromJSON instances + for conversion to and from JSON .ipynb files. +license: BSD3 +license-file: LICENSE +author: John MacFarlane +maintainer: jgm@berkeley.edu +copyright: Copyright (C) 2019 John MacFarlane +category: Text +build-type: Simple +extra-source-files: Changelog.md + test/rt-files/*.ipynb +cabal-version: >=1.10 +tested-with: GHC == 8.2.2 || == 8.4.4 || == 8.6.5 || + == 8.8.1 || == 8.10.4 || == 9.0.1 + +source-repository head + type: git + location: https://github.com/jgm/ipynb.git + +library + exposed-modules: Data.Ipynb + build-depends: base >= 4.8 && < 5, + containers >= 0.5.8, + unordered-containers, + base64-bytestring, + aeson >= 1.5.2.0, + bytestring, + text + if impl(ghc < 8.0) + build-depends: semigroups == 0.18.* + hs-source-dirs: src + default-language: Haskell2010 + +test-suite roundtrip + type: exitcode-stdio-1.0 + main-is: roundtrip.hs + build-depends: base, + ipynb, + filepath, + directory, + tasty, + tasty-hunit, + aeson, + bytestring, + microlens-aeson, + microlens, + text + hs-source-dirs: test + default-language: Haskell2010 -- cgit v1.2.3