diff --git a/flake.nix b/flake.nix index 21c9a3f..e412052 100644 --- a/flake.nix +++ b/flake.nix @@ -17,14 +17,12 @@ meshcore = python3Packages.buildPythonPackage rec { pname = "meshcore"; - version = "2.2.1"; + version = "2.2.2"; pyproject = true; - src = pkgs.fetchFromGitHub { - owner = "meshcore-dev"; - repo = "meshcore_py"; - rev = "v${version}"; - sha256 = "sha256-Qjwi7JrSyk5wWM63OdFykB850+hquWDD9p4fZFfbI70="; + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-vn/vF4avMDwDLL0EMVrrMWkZrZ1GTiUxGyTBOtKvG1I="; }; build-system = [ python3Packages.hatchling ]; diff --git a/pyproject.toml b/pyproject.toml index e96f65a..951e202 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ ] license = "MIT" license-files = ["LICEN[CS]E*"] -dependencies = [ "meshcore >= 2.2.1", +dependencies = [ "meshcore >= 2.2.2", "bleak >= 0.22, <2.0", "prompt_toolkit >= 3.0.50", "requests >= 2.28.0",