chore: rename bulkgen to hokusai
All checks were successful
Continuous Integration / Build Package (push) Successful in 35s
Continuous Integration / Lint, Check & Test (push) Successful in 57s

This commit is contained in:
Konstantin Fickel 2026-02-20 17:08:12 +01:00
parent a28cc97aed
commit 4def49350e
Signed by: kfickel
GPG key ID: A793722F9933C1A5
32 changed files with 215 additions and 213 deletions

View file

@ -1,5 +1,5 @@
{
description = "bulkgen - Bulk-Generate Images with Generative AI";
description = "hokusai - Bulk-Generate Images with Generative AI";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@ -63,15 +63,15 @@
};
pyprojectOverrides = _final: prev: {
bulkgen = prev.bulkgen.overrideAttrs (old: {
hokusai = prev.hokusai.overrideAttrs (old: {
passthru = old.passthru // {
tests = (old.passthru.tests or { }) // {
pytest = stdenv.mkDerivation {
name = "${_final.bulkgen.name}-pytest";
inherit (_final.bulkgen) src;
name = "${_final.hokusai.name}-pytest";
inherit (_final.hokusai) src;
nativeBuildInputs = [
(_final.mkVirtualEnv "bulkgen-pytest-env" {
bulkgen = [ "dev" ];
(_final.mkVirtualEnv "hokusai-pytest-env" {
hokusai = [ "dev" ];
})
];
dontConfigure = true;
@ -108,7 +108,7 @@
let
pkgs = nixpkgs.legacyPackages.${system};
pythonSet = pythonSets.${system};
venv = pythonSet.mkVirtualEnv "bulkgen-check-env" workspace.deps.default;
venv = pythonSet.mkVirtualEnv "hokusai-check-env" workspace.deps.default;
in
git-hooks.lib.${system}.run {
src = ./.;
@ -142,17 +142,17 @@
inherit (pkgs.callPackages pyproject-nix.build.util { }) mkApplication;
in
rec {
bulkgen = mkApplication {
venv = pythonSet.mkVirtualEnv "bulkgen-env" workspace.deps.default;
package = pythonSet.bulkgen;
hokusai = mkApplication {
venv = pythonSet.mkVirtualEnv "hokusai-env" workspace.deps.default;
package = pythonSet.hokusai;
};
default = bulkgen;
default = hokusai;
}
);
homeManagerModules = rec {
bulkgen = import ./nix/hm-module.nix self;
default = bulkgen;
hokusai = import ./nix/hm-module.nix self;
default = hokusai;
};
checks = forAllSystems (
@ -161,7 +161,7 @@
pythonSet = pythonSets.${system};
in
{
inherit (pythonSet.bulkgen.passthru.tests) pytest;
inherit (pythonSet.hokusai.passthru.tests) pytest;
pre-commit = mkGitHooksCheck system;
}
);
@ -171,7 +171,7 @@
let
pkgs = nixpkgs.legacyPackages.${system};
pythonSet = pythonSets.${system}.overrideScope editableOverlay;
virtualenv = pythonSet.mkVirtualEnv "bulkgen-dev-env" workspace.deps.all;
virtualenv = pythonSet.mkVirtualEnv "hokusai-dev-env" workspace.deps.all;
in
{
default = pkgs.mkShell {