python3Packages.python-code-minimap: init at 0.1.1

This commit is contained in:
Gaetan Lepage
2026-03-01 17:32:18 +00:00
parent e9674ebd36
commit edaa90a74f
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
uv-build,
}:
buildPythonPackage (finalAttrs: {
pname = "python-code-minimap";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "joouha";
repo = "python-code-minimap";
tag = "v${finalAttrs.version}";
hash = "sha256-zp0F5vJPZAp8lBFBOLWYMuAzlerXDa0vM9P3oBtBjGo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail \
"uv_build>=0.9.0,<0.10.0" \
"uv_build"
'';
build-system = [
uv-build
];
pythonImportsCheck = [ "code_minimap" ];
# No tests
doCheck = false;
meta = {
description = "Pure Python code minimap render";
homepage = "https://github.com/joouha/python-code-minimap";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -15423,6 +15423,8 @@ self: super: with self; {
python-clementine-remote = callPackage ../development/python-modules/python-clementine-remote { };
python-code-minimap = callPackage ../development/python-modules/python-code-minimap { };
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
python-coinmarketcap = callPackage ../development/python-modules/python-coinmarketcap { };