merge main #11

Merged
Zacharias-Brohn merged 10 commits from main into settingsWindow 2026-02-23 18:16:25 +01:00
2 changed files with 78 additions and 43 deletions
Showing only changes of commit f33f3f19a8 - Show all commits
+18 -8
View File
@@ -9,21 +9,28 @@
};
};
outputs = {
outputs =
{
self,
nixpkgs,
...
} @ inputs: let
forAllSystems = fn: nixpkgs.lib.genAttrs nixpkgs.lib.platforms.linux (system: fn nixpkgs.legacyPackages.${system});
in {
}@inputs:
let
forAllSystems =
fn: nixpkgs.lib.genAttrs nixpkgs.lib.platforms.linux (system: fn nixpkgs.legacyPackages.${system});
in
{
formatter = forAllSystems (pkgs: pkgs.nixfmt);
packages = forAllSystems (pkgs: let
packages = forAllSystems (
pkgs:
let
pythonEnv = pkgs.python3.withPackages (ps: [
ps.pillow
ps.materialyoucolor
]);
in rec {
in
rec {
zshell = pkgs.callPackage ./nix {
rev = self.rev or self.dirtyRev;
stdenv = pkgs.clangStdenv;
@@ -32,15 +39,18 @@
withI3 = false;
};
app2unit = pkgs.callPackage ./nix/app2unit.nix { inherit pkgs; };
zshell-cli = pkgs.callPackage ./nix/zshell-cli.nix { inherit pkgs; };
inherit pythonEnv;
};
default = zshell;
});
}
);
devShells = forAllSystems (pkgs: {
default = let
default =
let
shell = self.packages.${pkgs.stdenv.hostPlatform.system}.zshell;
in
pkgs.mkShell.override { stdenv = shell.stdenv; } {
+25
View File
@@ -0,0 +1,25 @@
{
python3,
}:
python3.pkgs.buildPythonApplication {
pname = "zshell-cli";
version = "0.1.0";
src = ./cli/.;
pyproject = true;
build-system = with python3.pkgs; [
hatch-vcs
hatchling
];
dependencies = with python3.pkgs; [
materialyoucolor
pillow
];
pythonImportsCheck = [ "zshell" ];
nativeBuildInputs = [ installShellFiles ];
SETUPTOOLS_SCM_PRETEND_VERSION = 1;
}