python3Packages.textual-speedups: init at 0.2.1

This commit is contained in:
Gaetan Lepage
2025-12-29 13:18:48 +00:00
parent cc6333cd23
commit 1ca9a2595c
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
rustPlatform,
}:
buildPythonPackage rec {
pname = "textual-speedups";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "willmcgugan";
repo = "textual-speedups";
tag = "v${version}";
hash = "sha256-zsDA8qPpeiOlmL18p4pItEgXQjgrQEBVRJazrGJT9Bw=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-Bz4ocEziOlOX4z5F9EDry99YofeGyxL/6OTIf/WEgK4=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
];
pythonImportsCheck = [ "textual_speedups" ];
# No tests
doCheck = false;
meta = {
description = "Optional Rust speedups for Textual";
homepage = "https://github.com/willmcgugan/textual-speedups";
# No license (yet?)
# https://github.com/willmcgugan/textual-speedups/issues/2
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -18784,6 +18784,8 @@ self: super: with self; {
textual-slider = callPackage ../development/python-modules/textual-slider { };
textual-speedups = callPackage ../development/python-modules/textual-speedups { };
textual-textarea = callPackage ../development/python-modules/textual-textarea { };
textual-universal-directorytree =