Update for GHC 9.4.8
This commit is contained in:
parent
085c16fb21
commit
4dc9143dbc
6 changed files with 118 additions and 58 deletions
17
CHANGELOG.md
Normal file
17
CHANGELOG.md
Normal 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
|
|
@ -1,2 +0,0 @@
|
||||||
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
|
|
||||||
nixpkgs.haskellPackages.callPackage ./hexstring.nix { }
|
|
109
hexstring.cabal
109
hexstring.cabal
|
@ -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
|
|
||||||
data-files: LICENSE, README.md
|
|
||||||
cabal-version: >= 1.10
|
|
||||||
tested-with: GHC == 7.6, GHC == 7.8, GHC == 7.10
|
|
||||||
|
|
||||||
library
|
-- This file has been generated from package.yaml by hpack version 0.36.0.
|
||||||
hs-source-dirs: src
|
--
|
||||||
ghc-options: -Wall -ferror-spans
|
-- see: https://github.com/sol/hpack
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
exposed-modules: Data.HexString
|
name: hexstring
|
||||||
|
version: 0.12.0
|
||||||
build-depends: base >= 4.3 && < 5
|
synopsis: Fast and safe representation of a hex string
|
||||||
, binary
|
description: Provides an interface for converting any object that has a 'Binary' instance to and from a hexadecimal Text representation.
|
||||||
, text
|
author: Rene Vergara,
|
||||||
, bytestring
|
Leon Mergen
|
||||||
, base16-bytestring
|
maintainer: pitmutt@vergara.tech
|
||||||
, aeson
|
copyright: (c) 2015 Leon Mergen,
|
||||||
|
(c) 2024 Rene Vergara
|
||||||
test-suite test-suite
|
license: MIT
|
||||||
type: exitcode-stdio-1.0
|
license-file: LICENSE
|
||||||
ghc-options: -Wall -ferror-spans -threaded -auto-all -caf-all -fno-warn-type-defaults
|
build-type: Simple
|
||||||
default-language: Haskell2010
|
extra-source-files:
|
||||||
hs-source-dirs: test
|
README.md
|
||||||
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
42
package.yaml
Normal 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
|
|
@ -1,2 +0,0 @@
|
||||||
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
|
|
||||||
(import ./default.nix { inherit nixpkgs compiler; }).env
|
|
4
stack.yaml
Normal file
4
stack.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
resolver: lts-21.22
|
||||||
|
|
||||||
|
packages:
|
||||||
|
- .
|
Loading…
Reference in a new issue