python312Packages.virtual-glob: init at 0.2.0 (#367475)

This commit is contained in:
Arne Keller
2025-01-15 18:23:43 +01:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
buildPythonPackage,
fetchFromGitHub,
flit-core,
lib,
pytest,
pytestCheckHook,
pythonAtLeast,
}:
buildPythonPackage rec {
pname = "virtual-glob";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = "virtual-glob";
tag = "v${version}";
hash = "sha256-ocCa8m7mPPvzOZHPrraSEdSJZwRJoYO/Q7nyDbhIFu8=";
};
build-system = [
flit-core
];
optional-dependencies = {
testing = [
pytest
];
};
pythonImportsCheck = [
"virtual_glob"
];
disabledTests = lib.optionals (pythonAtLeast "3.13") [
"test_baseline_pathlib"
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Globbing of virtual file systems";
homepage = "https://pypi.org/project/virtual_glob/";
maintainers = with lib.maintainers; [ PopeRigby ];
license = lib.licenses.mit;
};
}
+2
View File
@@ -17776,6 +17776,8 @@ self: super: with self; {
virtkey = callPackage ../development/python-modules/virtkey { };
virtual-glob = callPackage ../development/python-modules/virtual-glob { };
virtualenv = callPackage ../development/python-modules/virtualenv { };
virtualenv-clone = callPackage ../development/python-modules/virtualenv-clone { };