From d5ed24de97964a92fe8f7b92535bd13d4d1ea79d Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:45:23 -0800 Subject: [PATCH] python --- extras/dev.nix | 7 +++++++ flake.lock | 24 ++++++++++++------------ systems/BASED.nix | 2 +- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/extras/dev.nix b/extras/dev.nix index ee20a29..0473988 100644 --- a/extras/dev.nix +++ b/extras/dev.nix @@ -1,5 +1,12 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ + python310Packages.python-lsp-server + sqlite + unstable.sqlx-cli + unstable.ruff + unstable.ruff-lsp + pypy3 + python3 # unstable.swagger-cli # swagger-codegen sshfs diff --git a/flake.lock b/flake.lock index 391de77..901d91c 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1698939737, - "narHash": "sha256-AokSuTdhNM6qXShE3LbX+VaC/kEZ9e3WomcgVIXMiLo=", + "lastModified": 1700088598, + "narHash": "sha256-lK66mu2vi2/rXm13+lh/Gwi2asQiEU7a91ZoP4dFdNE=", "owner": "ezKEa", "repo": "aagl-gtk-on-nix", - "rev": "2e0c4a4667f9aac0246843d2d8ee530856d4b679", + "rev": "ee7b773dd7d028ad1b185cdf72bc16ce69ac0288", "type": "github" }, "original": { @@ -40,11 +40,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1699159446, - "narHash": "sha256-cL63IjsbPl2otS7R4kdXbVOJOXYMpGw5KGZoWgdCuCM=", + "lastModified": 1699997707, + "narHash": "sha256-ugb+1TGoOqqiy3axyEZpfF6T4DQUGjfWZ3Htry1EfvI=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "627bc9b88256379578885a7028c9e791c29fb581", + "rev": "5689f3ebf899f644a1aabe8774d4f37eb2f6c2f9", "type": "github" }, "original": { @@ -104,11 +104,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1699099776, - "narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=", + "lastModified": 1699963925, + "narHash": "sha256-LE7OV/SwkIBsCpAlIPiFhch/J+jBDGEZjNfdnzCnCrY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb", + "rev": "bf744fe90419885eefced41b3e5ae442d732712d", "type": "github" }, "original": { @@ -119,11 +119,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1699291058, - "narHash": "sha256-5ggduoaAMPHUy4riL+OrlAZE14Kh7JWX4oLEs22ZqfU=", + "lastModified": 1700097215, + "narHash": "sha256-ODQ3gBTv1iHd7lG21H+ErVISB5wVeOhd/dEogOqHs/I=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "41de143fda10e33be0f47eab2bfe08a50f234267", + "rev": "9fb122519e9cd465d532f736a98c1e1eb541ef6f", "type": "github" }, "original": { diff --git a/systems/BASED.nix b/systems/BASED.nix index 49e5dd0..d9c609a 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -12,7 +12,7 @@ ffmpeg firefox git - helix + unstable.helix localsend mesa mpv