libmagic: Interface to C file/magic library
This package provides a Haskell interface to the C libmagic library. With it, you can determine the type of a file by examining its contents rather than its name. The Haskell interface provides a full-featured binding.
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| pkgconfig | Use pkg-config to find libmagic. Cabal automatically falls back to extra-libraries when pkg-config does not find it. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- libmagic-1.3.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.2, 1.3, 1.3.1, 1.3.2 |
|---|---|
| Change log | CHANGELOG |
| Dependencies | base (>=3 && <5), bytestring (<0.13), filepath (>=1.4.100 && <1.6), os-string (>=2.0.0 && <2.1) [details] |
| License | BSD-3-Clause |
| Copyright | Copyright (c) 2005-2009 John Goerzen |
| Author | John Goerzen |
| Maintainer | Joey Hess <id@joeyh.name> |
| Uploaded | by JoeyHess at 2026-10-30T16:16:58Z |
| Category | Text |
| Source repo | head: git clone https://git.joeyh.name/git/haskell-libmagic.git |
| Distributions | |
| Downloads | 13 total (13 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |