From 9bf6bd5538fc86debec91ad282838a2289bd1b88 Mon Sep 17 00:00:00 2001 From: Piyush P Kurur Date: Thu, 13 Jun 2024 18:39:23 +0530 Subject: [PATCH 1/5] bump up the bounds. --- raaz.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raaz.cabal b/raaz.cabal index d5e14ca9..81580363 100644 --- a/raaz.cabal +++ b/raaz.cabal @@ -192,7 +192,7 @@ common defaults default-language: Haskell2010 ghc-options: -Wall default-extensions: NoImplicitPrelude - build-depends: base >= 4.11 && < 4.20 + build-depends: base >= 4.11 && < 4.21 , bytestring >= 0.10 && < 0.13 , deepseq >= 1.4 && < 1.6 , vector >= 0.12 && < 0.14 @@ -632,7 +632,7 @@ common test-defaults import: defaults build-depends: core , HUnit >= 1.2 && < 1.7 - , QuickCheck >= 2.4 && < 2.15 + , QuickCheck >= 2.4 && < 2.16 , hspec >= 2.10.6 && < 2.12 library test-core From 1b04ce6434825bf7c391793f534424b09034eb85 Mon Sep 17 00:00:00 2001 From: Piyush P Kurur Date: Thu, 13 Jun 2024 18:39:33 +0530 Subject: [PATCH 2/5] ci: enable ghc-9.10 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8899ce07..4fd3b491 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: - '9.4' - '9.6' - '9.8' + - '9.10' - 'latest' include: From 91c83bf3eea117379b898c8a48e57174da06a265 Mon Sep 17 00:00:00 2001 From: Piyush P Kurur Date: Thu, 13 Jun 2024 18:49:51 +0530 Subject: [PATCH 3/5] change log update. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e662ef6..fbd6efa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change log for [raaz]. +## [0.3.10] - Feb 1, 2024 + +Release that supports ghc-9.10 (base 4.20) + ## [0.3.9] - Feb 1, 2024 Release that supports ghc-9.8 (base 4.19) @@ -208,4 +212,5 @@ This release comes with very little changes. [0.3.7]: [0.3.8]: [0.3.9]: +[0.3.10]: [raaz]: From f4e45ec980c6dc89b1f56823158d83578accacd9 Mon Sep 17 00:00:00 2001 From: Piyush P Kurur Date: Thu, 13 Jun 2024 18:56:51 +0530 Subject: [PATCH 4/5] flake update. --- flake.lock | 31 +++++++++++++++++++++++++------ flake.nix | 9 ++------- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index bb86daba..31d4b679 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -17,15 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1668379237, - "narHash": "sha256-2ZS629IVRvZ6+lwSwhBmhDNOvmMOJevxhGngu2qpq0o=", + "lastModified": 1718160348, + "narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8ed9d99b10bb30e6cd7be81ff483f18f106d5bda", + "rev": "57d6973abba7ea108bac64ae7629e7431e0199b6", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -35,6 +39,21 @@ "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 1f213038..8a824e92 100644 --- a/flake.nix +++ b/flake.nix @@ -3,24 +3,19 @@ description = "Development environment for raaz, a fast and type safe cryptographic library in haskell"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 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; + hpkgs = pkgs.haskell.packages.ghcHEAD; in { devShell = pkgs.mkShell { buildInputs = [ pkgs.editorconfig-checker hpkgs.ghc - ( hpkgs.ghcWithPackages ( p: with p; [ - cabal-install - - ])) - ]; }; } From cfc803032031eae74ec6cf60cde6ae6f9c141bb5 Mon Sep 17 00:00:00 2001 From: Piyush P Kurur Date: Fri, 14 Jun 2024 09:54:25 +0530 Subject: [PATCH 5/5] package version bump. --- raaz.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raaz.cabal b/raaz.cabal index 81580363..6ccd88b4 100644 --- a/raaz.cabal +++ b/raaz.cabal @@ -1,7 +1,7 @@ cabal-version: 3.0 name: raaz -version: 0.3.9 +version: 0.3.10 stability: experimental synopsis: Fast and type safe cryptography.