Implementierung v0
All checks were successful
run tests / check (push) Successful in 27s
run tests / release (push) Successful in 15s

This commit is contained in:
2025-12-12 11:00:11 +01:00
parent bd50bef4ad
commit bf30b4defe
41 changed files with 2823 additions and 0 deletions

44
flake.nix Normal file
View File

@@ -0,0 +1,44 @@
{
description = "puzzleYOU release action";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
flake-utils.url = "github:numtide/flake-utils";
pyproject-nix = {
url = "github:pyproject-nix/pyproject.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, flake-utils, pyproject-nix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pythonProject = pyproject-nix.lib.project.loadPyproject {
projectRoot = ./.;
};
pythonInterpreter = pkgs.python313;
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.just
pkgs.gitea-actions-runner
(pythonInterpreter.withPackages
(pythonProject.renderers.withPackages {
python = pythonInterpreter;
extraPackages = ps: with ps; [ flake8 isort ];
}))
];
};
packages.default = pythonInterpreter.pkgs.buildPythonPackage (
pythonProject.renderers.buildPythonPackage {
python = pythonInterpreter;
});
}
);
}