From 1ffadcf583effb0350538e32678df7b2087e68e9 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 29 Sep 2024 18:23:49 +0200 Subject: [PATCH] fix: Update dependencies to run on Dart 3.5.1 --- flake.lock | 36 +++++++++++++++++++++++++++--------- flake.nix | 2 +- pubspec.yaml | 24 ++++++++++++------------ 3 files changed, 40 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 1ecb793..3a7f28b 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1656065134, - "narHash": "sha256-oc6E6ByIw3oJaIyc67maaFcnjYOz1mMcOtHxbEf9NwQ=", + "lastModified": 1692799911, + "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "owner": "numtide", "repo": "flake-utils", - "rev": "bee6a7250dd1b01844a2de7e02e4df7d8a0a206c", + "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "type": "github" }, "original": { @@ -17,16 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1657540956, - "narHash": "sha256-ihGbOFWtAkENwxBE5kV/yWt2MncvW+BObLDsmxCLo/Q=", - "owner": "NANASHI0X74", + "lastModified": 1727586919, + "narHash": "sha256-e/YXG0tO5GWHDS8QQauj8aj4HhXEm602q9swrrlTlKQ=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "043de04db8a6b0391b3fefaaade160514d866946", + "rev": "2dcd9c55e8914017226f5948ac22c53872a13ee2", "type": "github" }, "original": { - "owner": "NANASHI0X74", - "ref": "flutter-3-0-0", + "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } @@ -36,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 ce7e603..924d76a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "omemo_dart"; inputs = { - nixpkgs.url = "github:NANASHI0X74/nixpkgs/flutter-3-0-0"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let diff --git a/pubspec.yaml b/pubspec.yaml index 4980b52..c77b9ec 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,23 +5,23 @@ homepage: https://github.com/PapaTutuWawa/omemo_dart publish_to: https://git.polynom.me/api/packages/PapaTutuWawa/pub environment: - sdk: '>=2.17.0 <3.0.0' + sdk: ">=3.0.0 <4.0.0" dependencies: - collection: ^1.16.0 - cryptography: ^2.0.5 + collection: ^1.19.0 + cryptography: ^2.7.0 hex: ^0.2.0 - logging: ^1.0.2 - meta: ^1.7.0 + logging: ^1.2.0 + meta: ^1.16.0 moxlib: version: ^0.2.0 hosted: https://git.polynom.me/api/packages/Moxxy/pub - pinenacl: ^0.5.1 - protobuf: ^2.1.0 - protoc_plugin: ^20.0.1 - synchronized: ^3.0.0+2 + pinenacl: ^0.6.0 + protobuf: ^3.1.0 + protoc_plugin: ^21.1.2 + synchronized: ^3.3.0+3 dev_dependencies: - lints: ^2.0.0 - test: ^1.21.0 - very_good_analysis: ^3.0.1 + lints: ^5.0.0 + test: ^1.25.8 + very_good_analysis: ^6.0.0