From 568da85f02df8526e9753bc9afa2bcc72cf186a1 Mon Sep 17 00:00:00 2001 From: Ivan Date: Tue, 31 Mar 2026 00:41:14 +0300 Subject: [PATCH] chore: remove flake.lock and flake.nix files to clean up project structure --- flake.lock | 61 ------------------------------ flake.nix | 106 ----------------------------------------------------- 2 files changed, 167 deletions(-) delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/flake.lock b/flake.lock deleted file mode 100644 index d4deccc..0000000 --- a/flake.lock +++ /dev/null @@ -1,61 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1767116409, - "narHash": "sha256-5vKw92l1GyTnjoLzEagJy5V5mDFck72LiQWZSOnSicw=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "cad22e7d996aea55ecab064e84834289143e44a0", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "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", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 3708acd..0000000 --- a/flake.nix +++ /dev/null @@ -1,106 +0,0 @@ -{ - description = "Reticulum-MeshChatX development environment"; - - inputs = { - 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 = import nixpkgs { - inherit system; - config.allowUnfree = true; - }; - - python = pkgs.python312; - node = pkgs.nodejs_24; - in - { - devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [ - # Core - git - curl - go-task - pkg-config - libffi - openssl - - # Audio (for LXST/Telephony) - libopus - portaudio - - # Backend - python - poetry - ruff - - # Frontend - node - pnpm - - # Electron & Linux Packaging - electron - fakeroot - rpm - dpkg - wine - mono - - # Android Development - gradle - openjdk17 - - # Containerization - docker - docker-compose - ]; - - shellHook = '' - echo "Reticulum-MeshChatX development environment" - echo "Python version: $(${python}/bin/python --version)" - echo "Node version: $(${node}/bin/node --version)" - echo "Task version: $(task --version 2>/dev/null || echo 'not available')" - echo "Poetry version: $(poetry --version 2>/dev/null || echo 'not available')" - echo "PNPM version: $(pnpm --version 2>/dev/null || echo 'not available')" - - # Set up development environment variables - export LD_LIBRARY_PATH="${pkgs.libopus}/lib:${pkgs.portaudio}/lib:$LD_LIBRARY_PATH" - ''; - }; - - # Simple package definition for the backend - packages.default = pkgs.python312Packages.buildPythonPackage { - pname = "reticulum-meshchatx"; - version = "4.4.0"; - src = ./.; - format = "pyproject"; - - nativeBuildInputs = with pkgs; [ - python312Packages.setuptools - python312Packages.wheel - ]; - - propagatedBuildInputs = with pkgs.python312Packages; [ - aiohttp - psutil - websockets - bcrypt - aiohttp-session - cryptography - requests - ply - # Note: rns, lxmf, lxst are handled via poetry or manual vendoring - ]; - - buildInputs = [ - pkgs.libopus - pkgs.portaudio - ]; - - doCheck = false; - }; - }); -}