mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
leet-helix: init at 0.2.3-unstable-2026-02-24 (#492301)
This commit is contained in:
@@ -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;
|
||||
|
||||
49
pkgs/by-name/le/leet-helix/package.nix
Normal file
49
pkgs/by-name/le/leet-helix/package.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user