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,37 +3,36 @@
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
lib = nixpkgs.lib;
in
{
devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "leek-devshell";
packages = with pkgs; [
ruff
(
python3.withPackages (ps: with ps;[
# Dev dependencies
python-lsp-server
pylsp-mypy
mypy
setuptools-scm
outputs = {nixpkgs, ...}: let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
lib = nixpkgs.lib;
in {
devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "leek-devshell";
packages = with pkgs; [
ruff
(
python3.withPackages (
ps:
with ps; [
# Dev dependencies
python-lsp-server
pylsp-mypy
mypy
setuptools-scm
#App dependencies
pyside6
tomlkit
vdf
]
)
#App dependencies
pyside6
tomlkit
vdf
]
)
];
};
packages.x86_64-linux = rec {
default = leek;
leek = pkgs.callPackage ./package.nix { };
};
)
];
};
packages.x86_64-linux = rec {
default = leek;
leek = pkgs.callPackage ./package.nix {};
};
};
}

View file

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