Unverified Commit 8e3c015c authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

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

parents 15e9e9a5 ccc74115
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };