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
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.
cabal-version: 1.12
build-type: Simple
data-files: LICENSE, README.md
cabal-version: >= 1.10
tested-with: GHC == 7.6, GHC == 7.8, GHC == 7.10
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
library
hs-source-dirs: src
ghc-options: -Wall -ferror-spans
default-language: Haskell2010
exposed-modules: Data.HexString
build-depends: base >= 4.3 && < 5
, binary
, text
, bytestring
, base16-bytestring
, aeson
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
name: hexstring
version: 0.12.0
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.
author: Rene Vergara,
Leon Mergen
maintainer: pitmutt@vergara.tech
copyright: (c) 2015 Leon Mergen,
(c) 2024 Rene Vergara
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: git://github.com/solatis/haskell-bitcoin-script.git
branch: master
location: https://git.vergara.tech/Vergara_Tech/haskell-hexstring
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:
- .