packages feed

libfuse3-0.2.1.0: libfuse3.cabal

cabal-version:       >=1.10
-- Initial package description 'libfuse3.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/

name:                libfuse3
version:             0.2.1.0
synopsis:            A Haskell binding for libfuse-3.x
description:         Bindings for libfuse, the FUSE userspace reference implementation, of version 3.x. Compatible with Linux.
-- bug-reports:
license:             MIT
license-file:        LICENSE
author:              yohashi
maintainer:          yohashi <yohashi1991@gmail.com>
-- copyright:
category:            System
build-type:          Configure
extra-source-files:
  CHANGELOG.md
  LICENSE-HFuse
  README.md
  configure
  configure.ac
  cbits/cbits.c
  include/config.h.in
  libfuse3.buildinfo.in

flag examples
  default: False

source-repository head
  type:       git
  location:   https://github.com/matil019/haskell-libfuse3

library
  exposed-modules:     System.LibFuse3
                       System.LibFuse3.FileStat
                       System.LibFuse3.FileSystemStats
                       System.LibFuse3.FuseConfig
                       System.LibFuse3.Internal
                       System.LibFuse3.Internal.C
                       System.LibFuse3.Internal.Resource
                       System.LibFuse3.Utils
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.14.3 && <4.22
                     , bytestring >=0.10.8 && <0.13
                     , clock ==0.8.*
                     , resourcet >=1.2 && <1.4
                     , time >=1.6 && <1.15
                     , unix >=2.7 && <2.9
  pkgconfig-depends:   fuse3
  hs-source-dirs:      src
  include-dirs:        include
  c-sources:           cbits/cbits.c
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes

test-suite unittest
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  build-depends:       libfuse3, base
                     , hspec
  -- other-modules:
  -- other-extensions:
  hs-source-dirs:      test/unittest
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded

test-suite integtest
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  build-depends:       libfuse3, base
                     , bytestring
                     , directory
                     , filepath
                     , hspec
                     , process
                     , temporary
                     , unix
  -- other-modules:
  -- other-extensions:
  hs-source-dirs:      test/integtest
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded

benchmark microbench
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  -- other-modules:
  build-depends:       libfuse3, base
                     , bytestring
                     , criterion
                     , unix
  hs-source-dirs:      bench/microbench
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded

executable null
  if flag(examples)
    buildable: True
    build-depends:       libfuse3, base
                       , bytestring
                       , clock
                       , unix
  else
    buildable: False
  main-is:             null.hs
  -- other-modules:
  -- other-extensions:
  hs-source-dirs:      example
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded

executable passthrough
  if flag(examples)
    buildable: True
    build-depends:       libfuse3, base
                       , bytestring
                       , clock
                       , time
                       , unix
  else
    buildable: False
  main-is:             passthrough.hs
  other-modules:       CLoff
                       XAttr
  -- other-extensions:
  hs-source-dirs:      example
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded

executable statjson
  if flag(examples)
    buildable: True
    build-depends:       libfuse3, base
                       , aeson
                       , bytestring
                       , clock
                       , directory
                       , filepath >=1.4.1
                       , unix
  else
    buildable: False
  main-is:             statjson.hs
  -- other-modules:
  -- other-extensions:
  hs-source-dirs:      example
  default-language:    Haskell2010
  ghc-options:         -Wall -fdefer-typed-holes -threaded