diff --git a/README.md b/README.md index 8b91069..5295a09 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ A custom Nix overlay and flake providing additional packages not found in upstre | Package | Description | Category | |---------|-------------|----------| | `container-use` | Containerized environments for coding agents | AI Coding Agents | +| `desloppify` | Multi-language codebase health scanner and technical debt tracker for AI agents | AI Coding Agents | | `goose-cli` | CLI for Goose - a local, extensible, open source AI agent that automates engineering tasks | AI Coding Agents | | `graphify` | Turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph | AI Coding Agents | | `mcp-gateway` | Universal Model Context Protocol gateway that sits between AI client and MCP tools/servers | MCP Servers | @@ -104,6 +105,7 @@ nix-overlay/ │ └── shared-nixpkgs.nix # Dependency-sharing overlay ├── packages/ # Package definitions │ ├── default/ # Meta-package listing all packages +│ ├── desloppify/ # Codebase health scanner for AI agents │ ├── flake-inputs/ # Utility for caching flake inputs │ ├── goose-cli/ # Goose AI agent CLI │ ├── graphify/ # Knowledge graph generator for code folders diff --git a/packages/desloppify/default.nix b/packages/desloppify/default.nix new file mode 100644 index 0000000..0ee9128 --- /dev/null +++ b/packages/desloppify/default.nix @@ -0,0 +1 @@ +{ pkgs, ... }: pkgs.callPackage ./package.nix { } diff --git a/packages/desloppify/package.nix b/packages/desloppify/package.nix new file mode 100644 index 0000000..505646a --- /dev/null +++ b/packages/desloppify/package.nix @@ -0,0 +1,54 @@ +{ + lib, + python3Packages, + fetchFromGitHub, +}: + +python3Packages.buildPythonApplication rec { + pname = "desloppify"; + version = "0.9.15"; + pyproject = true; + + src = fetchFromGitHub { + owner = "peteromallet"; + repo = "desloppify"; + rev = "v${version}"; + hash = "sha256-KVCt9loGSzsOaYSLNzpyUCi/TpCDQ4b6BxEydQTRNcA="; + }; + + build-system = with python3Packages; [ + setuptools + ]; + + # Include all [full] optional dependencies for complete functionality. + # Upstream has no base dependencies - all features are behind optional extras. + dependencies = with python3Packages; [ + tree-sitter + tree-sitter-language-pack + defusedxml + bandit + pillow + pyyaml + ]; + + doCheck = false; + pythonImportsCheck = [ "desloppify" ]; + + passthru = { + category = "AI Coding Agents"; + updateScript = [ + "nix-update" + "--flake" + ".#desloppify" + ]; + }; + + meta = { + description = "Multi-language codebase health scanner and technical debt tracker for AI agents"; + homepage = "https://github.com/peteromallet/desloppify"; + changelog = "https://github.com/peteromallet/desloppify/releases/tag/v${version}"; + license = lib.licenses.unfreeRedistributable; + mainProgram = "desloppify"; + platforms = lib.platforms.all; + }; +}