diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c1f695d0e898..59d34f7617e7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -23416,6 +23416,13 @@ githubId = 61013287; name = "Ricardo Steijn"; }; + ricardomaps = { + email = "ricardomapurungajunior@gmail.com"; + github = "ricardomaps"; + githubId = 49507078; + name = "Ricardo Mapurunga Junior"; + matrix = "@ricmaps:matrix.org"; + }; richar = { github = "ri-char"; githubId = 17962023; diff --git a/pkgs/by-name/le/leet-helix/package.nix b/pkgs/by-name/le/leet-helix/package.nix new file mode 100644 index 000000000000..fe4b233459d2 --- /dev/null +++ b/pkgs/by-name/le/leet-helix/package.nix @@ -0,0 +1,49 @@ +{ + lib, + fetchFromGitHub, + python3Packages, + nix-update-script, +}: + +python3Packages.buildPythonApplication { + pname = "leet-helix"; + version = "0.2.3-unstable-2026-02-24"; + + src = fetchFromGitHub { + owner = "Jarrlist"; + repo = "LeetHelix"; + rev = "d6e07920242ce852453d3d3b47d9418fda8baa8a"; + hash = "sha256-29RMI66tvSJxh1P2osRCJLvIXbwPy2lPPqtEsKQIWe4="; + }; + + pyproject = true; + + dependencies = with python3Packages; [ + typer + rich + sqlmodel + sqlite-utils + ]; + + build-system = [ python3Packages.hatchling ]; + + # necessary for tests which require a writable home + preBuild = '' + export HOME=$(mktemp -d) + ''; + + doCheck = true; + + nativeCheckInputs = [ python3Packages.pytestCheckHook ]; + + passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=HEAD" ]; }; + + meta = { + description = "Game to practice your Helix editor skills with code challenges"; + license = lib.licenses.mit; + homepage = "https://github.com/Jarrlist/LeetHelix"; + maintainers = [ lib.maintainers.ricardomaps ]; + platforms = lib.platforms.all; + mainProgram = "leet"; + }; +}