packages feed

bindings-libpci-0.1.0.0: bindings-libpci.cabal

cabal-version:      2.4
name:               bindings-libpci
version:            0.1.0.0
synopsis:           Low level bindings to libpci
description:        Low level bindings to libpci:
                    .
                    <https://github.com/pciutils/pciutils>
                    .
                    This package uses @bindings-DSL@
                    and conforms to its naming convention.
bug-reports:        https://github.com/standardsemiconductor/bindings-libpci/issues
license:            BSD-3-Clause
license-file:       LICENSE                    
author:             dopamane
maintainer:         dopamane <standard.semiconductor@gmail.com>
copyright:          Copyright (c) 2020 David Cox
category:           FFI
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
                  type: git
                  location: git://github.com/standardsemiconductor/bindings-libpci.git
                  branch: main

library
        hs-source-dirs: src
        default-extensions: ForeignFunctionInterface
        build-depends:
          base >= 4.12 && < 4.15,
          bindings-DSL >= 1.0.24 && < 1.1
        exposed-modules:
          Bindings.Libpci.Pci,
          Bindings.Libpci.Types,
          Bindings.Libpci.Header
        default-language: Haskell2010
        if os(windows)
          includes: pci.h
          extra-libraries: libpci
        else
          pkgconfig-depends: libpci >= 3.5.2