diff --git a/pkgs/development/python-modules/virtual-glob/default.nix b/pkgs/development/python-modules/virtual-glob/default.nix new file mode 100644 index 00000000000000..070be70c9aae9c --- /dev/null +++ b/pkgs/development/python-modules/virtual-glob/default.nix @@ -0,0 +1,44 @@ +{ + buildPythonPackage, + fetchFromGitHub, + flit-core, + lib, + pytest, + pytestCheckHook, +}: + +buildPythonPackage { + pname = "virtual-glob"; + version = "0.2.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "chrisjsewell"; + repo = "virtual-glob"; + rev = "v0.2.0"; + hash = "sha256-ocCa8m7mPPvzOZHPrraSEdSJZwRJoYO/Q7nyDbhIFu8="; + }; + + build-system = [ + flit-core + ]; + + optional-dependencies = { + testing = [ + pytest + ]; + }; + + pythonImportsCheck = [ + "virtual_glob" + ]; + + 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6ed57b2ba9aa95..347dff3f3b6c04 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };