python312Packages.virtual-glob: init at 0.2.0

This commit is contained in:
PopeRigby
2025-01-13 13:58:22 -08:00
parent bc26911947
commit ccc7411516
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
@@ -17699,6 +17699,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 { };