-
Notifications
You must be signed in to change notification settings - Fork 1
/
btrfs.cabal
122 lines (112 loc) · 3.83 KB
/
btrfs.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
name: btrfs
version: 0.2.1.0
synopsis: Bindings to the btrfs API
description:
This package provides bindings to the low-level btrfs API (i.e. the
@BTRFS_IOC_@* @ioctl@s). Currently, only a subset of the API is
supported, including all functions needed to work with subvolumes/snapshots
as well as file cloning.
.
In order to build this package, @linux-headers@ needs to be installed.
.
Warning: btrfs is still considered experimental. This module is also
experimental and may contain serious bugs that may result in data loss.
Do not use it on data that has not been backed up yet.
homepage: https://github.com/redneb/hs-btrfs
bug-reports: https://github.com/redneb/hs-btrfs/issues
license: BSD3
license-file: LICENSE
author: Marios Titas <rednebΑΤgmxDΟΤcom>
maintainer: Marios Titas <rednebΑΤgmxDΟΤcom>
category: System, Filesystem
build-type: Simple
cabal-version: >=1.10
extra-source-files:
ChangeLog.md
include/btrfs/ctree.h
include/btrfs/extent-cache.h
include/btrfs/extent_io.h
include/btrfs/ioctl.h
include/btrfs/kerncompat.h
include/btrfs/list.h
include/btrfs/radix-tree.h
include/btrfs/rbtree.h
include/btrfs/sizes.h
include/sys/capability.h
make-bytestring.hs
source-repository head
type: git
location: https://github.com/redneb/hs-btrfs.git
flag examples
description: Build examples
default: False
library
exposed-modules: System.Linux.Btrfs, System.Linux.Btrfs.ByteString,
System.Linux.Btrfs.UUID, System.Linux.Btrfs.Time
other-modules: Data.Word.Endian,
System.Linux.Btrfs.FilePathLike,
System.Linux.Capabilities
build-depends: base >=4.6 && <5
, unix >=2.8 && <3.0
, time >=1.4 && <2.0
, bytestring >=0.9 && <1.0
include-dirs: include
build-tools: hsc2hs
default-language: Haskell2010
ghc-options: -Wall
executable btrfs-defrag
hs-source-dirs: examples
main-is: btrfs-defrag.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs, unix, filepath,
linux-file-extents, ansi-terminal
default-language: Haskell2010
ghc-options: -Wall -threaded
executable btrfs-clone-range
hs-source-dirs: examples
main-is: btrfs-clone-range.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs
default-language: Haskell2010
ghc-options: -Wall
executable btrfs-split
hs-source-dirs: examples
main-is: btrfs-split.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs, unix
default-language: Haskell2010
ghc-options: -Wall
executable btrfs-join
hs-source-dirs: examples
main-is: btrfs-join.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs, unix
default-language: Haskell2010
ghc-options: -Wall
executable btrfs-list-subvols
hs-source-dirs: examples
main-is: btrfs-list-subvols.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs
default-language: Haskell2010
ghc-options: -Wall
executable btrfs-print-creation-time
hs-source-dirs: examples
include-dirs: include
main-is: btrfs-print-creation-time.hs
if !flag(examples)
buildable: False
else
build-depends: base >=4.6 && <5, btrfs, unix >=2.6, time >=1.4
default-language: Haskell2010
ghc-options: -Wall