diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 28d0592f..a86408ed 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -10,7 +10,10 @@ jobs: - name: 'Trailing white spaces ?' uses: harupy/find-trailing-whitespace@master - - name: Running hlint - run: | - sudo apt-get install curl -y - curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s . + - name: 'Set up HLint' + uses: haskell/actions/hlint-setup@v2 + + - name: 'Run HLint' + uses: haskell/actions/hlint-run@v2 + with: + fail-on: warning diff --git a/CHANGELOG.md b/CHANGELOG.md index eab16fb4..915a7b0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - [ ] Key Exchange (via X25519) - [ ] Signature scheme (via ED25519) +## [0.3.7] - Nov 14, 2022 + +Release that supports ghc-9.4 (base 0.4.17). + ## [0.3.6] - Dec 3, 2021 Release that supports ghc-9.2 (base 0.4.16). @@ -199,4 +203,5 @@ This release comes with very little changes. [0.3.4]: [0.3.5]: [0.3.6]: +[0.3.7]: [raaz]: diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..bb86daba --- /dev/null +++ b/flake.lock @@ -0,0 +1,42 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1668379237, + "narHash": "sha256-2ZS629IVRvZ6+lwSwhBmhDNOvmMOJevxhGngu2qpq0o=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "8ed9d99b10bb30e6cd7be81ff483f18f106d5bda", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..1f213038 --- /dev/null +++ b/flake.nix @@ -0,0 +1,28 @@ +{ + + description = "Development environment for raaz, a fast and type safe cryptographic library in haskell"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = nixpkgs.legacyPackages.${system}; + hpkgs = pkgs.haskell.packages.ghc942; + in + { + devShell = pkgs.mkShell { + buildInputs = [ pkgs.editorconfig-checker + hpkgs.ghc + ( hpkgs.ghcWithPackages ( p: with p; [ + cabal-install + + ])) + + ]; + }; + } + ); +} diff --git a/raaz.cabal b/raaz.cabal index dac41c8b..921e3ff4 100644 --- a/raaz.cabal +++ b/raaz.cabal @@ -192,10 +192,10 @@ common defaults default-language: Haskell2010 ghc-options: -Wall default-extensions: NoImplicitPrelude - build-depends: base >= 4.11 && < 4.17 + build-depends: base >= 4.11 && < 4.18 , bytestring >= 0.10 && < 0.12 , deepseq >= 1.4 && < 1.5 - , vector >= 0.12 && < 0.13 + , vector >= 0.12 && < 0.14 ------------------------ Compiler optimisation flags ------------------------------------- if flag(native) { cc-options: -march=native }