Skip to content

Commit

Permalink
Revise fs-api and fs-sim for newer io-classes (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo authored Nov 16, 2023
1 parent 9a3c9b5 commit 4d9ddbe
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sources/fs-api/0.2.0.0/meta.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
timestamp = 2023-08-01T16:16:49Z
github = { repo = "input-output-hk/fs-sim", rev = "f4a471dd5eb5598530c03d76acb040ce456cd338" }
subdir = 'fs-api'

[[revisions]]
number = 1
timestamp = 2023-11-16T12:44:10Z
68 changes: 68 additions & 0 deletions _sources/fs-api/0.2.0.0/revisions/1.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
cabal-version: 3.0
name: fs-api
version: 0.2.0.0
synopsis: API for file systems
description: API for file systems.
license: Apache-2.0
license-files:
LICENSE
NOTICE

copyright: 2019-2023 Input Output Global Inc (IOG)
author: IOG Engineering Team
maintainer: [email protected]
category: System
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==8.10 || ==9.2 || ==9.4 || ==9.6

source-repository head
type: git
location: https://github.com/input-output-hk/fs-sim
subdir: fs-api

library
hs-source-dirs: src

if os(windows)
hs-source-dirs: src-win32

else
hs-source-dirs: src-unix

exposed-modules:
System.FS.API
System.FS.API.Lazy
System.FS.API.Strict
System.FS.API.Types
System.FS.CRC
System.FS.IO
System.FS.IO.Internal
System.FS.IO.Internal.Handle
Util.CallStack
Util.Condense

default-language: Haskell2010
build-depends:
, base >=4.14 && <4.19
, bytestring >=0.10 && <0.12
, containers >=0.5 && <0.7
, deepseq
, digest
, directory >=1.3 && <1.4
, filepath >=1.4 && <1.5
, io-classes >=0.3 && <1.4
, text >=1.2 && <2.1

if os(windows)
build-depends: Win32 >=2.6.1.0

else
build-depends:
, unix
, unix-bytestring >=0.4.0

ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wpartial-fields -Widentities
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages
4 changes: 4 additions & 0 deletions _sources/fs-sim/0.2.1.0/meta.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
timestamp = 2023-08-01T16:16:59Z
github = { repo = "input-output-hk/fs-sim", rev = "8ce77e135e6a6c16923d84e2abc4dbe02948a5de" }
subdir = 'fs-sim'

[[revisions]]
number = 1
timestamp = 2023-11-16T12:44:10Z
85 changes: 85 additions & 0 deletions _sources/fs-sim/0.2.1.0/revisions/1.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
cabal-version: 3.0
name: fs-sim
version: 0.2.1.0
synopsis: Simulated file systems
description: Simulated file systems.
license: Apache-2.0
license-files:
LICENSE
NOTICE

copyright: 2019-2023 Input Output Global Inc (IOG)
author: IOG Engineering Team
maintainer: [email protected]
category: Testing
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==8.10 || ==9.2 || ==9.4 || ==9.6

source-repository head
type: git
location: https://github.com/input-output-hk/fs-sim
subdir: fs-sim

library
hs-source-dirs: src
exposed-modules:
System.FS.Sim.Error
System.FS.Sim.FsTree
System.FS.Sim.MockFS
System.FS.Sim.Pure
System.FS.Sim.STM
System.FS.Sim.Stream

default-language: Haskell2010
build-depends:
, base >=4.14 && <4.19
, base16-bytestring
, bytestring >=0.10 && <0.12
, containers >=0.5 && <0.7
, fs-api ^>=0.2
, io-classes >=0.3 && <1.4
, mtl
, QuickCheck
, strict-stm >=0.3 && <1.4
, text >=1.2 && <2.1

ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wpartial-fields -Widentities
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages

test-suite fs-sim-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Test.System.FS.Sim.FsTree
Test.System.FS.StateMachine
Test.Util.RefEnv

default-language: Haskell2010
build-depends:
, base
, bifunctors
, bytestring
, containers
, fs-api
, fs-sim
, generics-sop
, pretty-show
, QuickCheck
, quickcheck-state-machine >=0.7.2
, random
, tasty
, tasty-hunit
, tasty-quickcheck
, temporary
, text
, tree-diff

ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wpartial-fields -Widentities
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages
-fno-ignore-asserts

0 comments on commit 4d9ddbe

Please sign in to comment.