Skip to content

Commit

Permalink
python312Packages.virtual-glob: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
poperigby committed Jan 13, 2025
1 parent bc26911 commit ccc7411
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/development/python-modules/virtual-glob/default.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit ccc7411

Please sign in to comment.