Update for GHC 9.4.8

This commit is contained in:
Rene Vergara 2024-02-05 10:58:14 -06:00
parent 085c16fb21
commit 4dc9143dbc
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2
6 changed files with 118 additions and 58 deletions

17
CHANGELOG.md Normal file
View file

@ -0,0 +1,17 @@
# Changelog for haskell-hexstring
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.12.0]
### Added
- CHANGELOG.md
- Stack integration
### Changed
- Update to Haskell LTS 21.22

View file

@ -1,2 +0,0 @@
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
nixpkgs.haskellPackages.callPackage ./hexstring.nix { }

View file

@ -1,59 +1,60 @@
name: hexstring cabal-version: 1.12
category: Data
version: 0.11.1
license: MIT
license-file: LICENSE
copyright: (c) 2015 Leon Mergen
author: Leon Mergen
maintainer: leon@solatis.com
homepage: http://www.leonmergen.com/opensource.html
bug-reports: http://github.com/solatis/haskell-hexstring/issues
stability: experimental
synopsis: Fast and safe representation of a hex string
description:
Provides an interface for converting any object that has a 'Binary' instance
to and from a hexadecimal Text representation.
build-type: Simple -- This file has been generated from package.yaml by hpack version 0.36.0.
data-files: LICENSE, README.md --
cabal-version: >= 1.10 -- see: https://github.com/sol/hpack
tested-with: GHC == 7.6, GHC == 7.8, GHC == 7.10
library name: hexstring
hs-source-dirs: src version: 0.12.0
ghc-options: -Wall -ferror-spans synopsis: Fast and safe representation of a hex string
default-language: Haskell2010 description: Provides an interface for converting any object that has a 'Binary' instance to and from a hexadecimal Text representation.
author: Rene Vergara,
exposed-modules: Data.HexString Leon Mergen
maintainer: pitmutt@vergara.tech
build-depends: base >= 4.3 && < 5 copyright: (c) 2015 Leon Mergen,
, binary (c) 2024 Rene Vergara
, text license: MIT
, bytestring license-file: LICENSE
, base16-bytestring build-type: Simple
, aeson extra-source-files:
README.md
test-suite test-suite
type: exitcode-stdio-1.0
ghc-options: -Wall -ferror-spans -threaded -auto-all -caf-all -fno-warn-type-defaults
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
other-modules: Data.HexStringSpec
Spec
Main
build-depends: base >= 4.3 && < 5
, hspec
, text
, bytestring
, binary
, hexstring
source-repository head source-repository head
type: git type: git
location: git://github.com/solatis/haskell-bitcoin-script.git location: https://git.vergara.tech/Vergara_Tech/haskell-hexstring
branch: master
library
exposed-modules:
Data.HexString
other-modules:
Paths_hexstring
hs-source-dirs:
src
build-depends:
aeson
, base >=4.7 && <5
, base16-bytestring
, binary
, bytestring
, text
default-language: Haskell2010
test-suite hextring-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Data.HexStringSpec
Spec
Paths_hexstring
hs-source-dirs:
test
build-depends:
aeson
, base >=4.7 && <5
, base16-bytestring
, binary
, bytestring
, hexstring
, hspec
, text
default-language: Haskell2010

42
package.yaml Normal file
View file

@ -0,0 +1,42 @@
name: hexstring
version: 0.12.0
git: "https://git.vergara.tech/Vergara_Tech/haskell-hexstring"
license: MIT
author:
- "Rene Vergara"
- "Leon Mergen"
maintainer: "pitmutt@vergara.tech"
copyright:
- "(c) 2015 Leon Mergen"
- "(c) 2024 Rene Vergara"
extra-source-files:
- README.md
synopsis: Fast and safe representation of a hex string
description: Provides an interface for converting any object that has a 'Binary' instance to and from a hexadecimal Text representation.
dependencies:
- base >= 4.7 && < 5
library:
source-dirs: src
dependencies:
- binary
- text
- bytestring
- base16-bytestring
- aeson
tests:
hextring-test:
main: Main.hs
source-dirs: test
dependencies:
- hexstring
- binary
- text
- bytestring
- base16-bytestring
- aeson
- hspec

View file

@ -1,2 +0,0 @@
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
(import ./default.nix { inherit nixpkgs compiler; }).env

4
stack.yaml Normal file
View file

@ -0,0 +1,4 @@
resolver: lts-21.22
packages:
- .