python3Packages.textual-speedups: init at 0.2.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user