basic-cpuid-0.1.0.0: basic-cpuid.cabal
name: basic-cpuid
version: 0.1.0.0
synopsis: A small package to access the cpuid instruction directly.
description: Similar to the cpuid package this package allows one to
call the CPUID instruction from plain Haskell. In contrast
to the cpuid package it is very minimalistic and provides
no additional helper functions. On the other side it is
possible to build this package on every platform. If the
platform does not support the CPUID instruction, calling
it from Haskell will just throw an exception.
license: BSD3
license-file: LICENSE
author: Anselm Jonas Scholl
maintainer: anselm.scholl@tu-harburg.de
copyright: (c) 2017 Anselm Jonas Scholl
category: System
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
library
exposed-modules: System.Cpuid.Basic
other-extensions: ForeignFunctionInterface, CPP
if arch(i386) || arch(x86_64)
cpp-options: -DCPUID_SUPPORT
c-sources: cbits/cpuid.c
include-dirs: cbits
install-includes: cpuid.h
build-depends: base >=4.7 && < 5
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell2010
source-repository head
type: git
location: git://github.com/ajscholl/basic-cpuid.git