Unverified Commit 9fd2a267 authored by Marcel's avatar Marcel
Browse files

python3Packages.mkdocs-glightbox 0.4.0 -> 0.5.2

parent 1cd75316
Loading
Loading
Loading
Loading
+16 −4
Original line number Diff line number Diff line
@@ -2,31 +2,38 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  hatchling,
  selectolax,
  pytestCheckHook,
  pytest-click,
  pytest-timeout,
  mkdocs-material,
}:

buildPythonPackage rec {
  pname = "mkdocs-glightbox";
  version = "0.4.0";
  version = "0.5.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "blueswen";
    repo = "mkdocs-glightbox";
    tag = "v${version}";
    hash = "sha256-9HgXK7cE2z0fvKwEpCG5PTaaqGiet9KMNN2Ys9VJgeE=";
    hash = "sha256-6HkBeZHBLR3HqWh3WjjCqxR85nQuQqq9+7UwbXOZHRk=";
  };

  build-system = [
    setuptools
    hatchling
  ];

  dependencies = [
    selectolax
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-click
    pytest-timeout
    mkdocs-material
  ];

@@ -35,6 +42,11 @@ buildPythonPackage rec {
    "privacy"
  ];

  disabledTestPaths = [
    # dont execute benchmarks on hydra
    "tests/test_perf.py"
  ];

  pythonImportsCheck = [
    "mkdocs_glightbox"
  ];