Nix: format with alejandra

This commit is contained in:
Toast 2025-06-05 13:25:48 +02:00
parent 15a00512a8
commit 174f845b2c
2 changed files with 33 additions and 34 deletions

View file

@ -3,18 +3,18 @@
inputs.nixpkgs.url = "nixpkgs/nixos-unstable"; inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }: outputs = {nixpkgs, ...}: let
let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
lib = nixpkgs.lib; lib = nixpkgs.lib;
in in {
{
devShells.x86_64-linux.default = pkgs.mkShellNoCC { devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "leek-devshell"; name = "leek-devshell";
packages = with pkgs; [ packages = with pkgs; [
ruff ruff
( (
python3.withPackages (ps: with ps;[ python3.withPackages (
ps:
with ps; [
# Dev dependencies # Dev dependencies
python-lsp-server python-lsp-server
pylsp-mypy pylsp-mypy
@ -36,4 +36,3 @@
}; };
}; };
} }

View file

@ -1,8 +1,9 @@
{ {
kdePackages, kdePackages,
python3Packages, python3Packages,
qt6 qt6,
}: python3Packages.buildPythonApplication rec { }:
python3Packages.buildPythonApplication rec {
pname = "leek"; pname = "leek";
version = "0.2"; version = "0.2";
pyproject = true; pyproject = true;
@ -14,7 +15,6 @@
setuptools-scm setuptools-scm
]; ];
dependencies = with python3Packages; [ dependencies = with python3Packages; [
pyside6 pyside6
tomlkit tomlkit