Commit 2c9de9e1 authored by jopejoe1's avatar jopejoe1
Browse files

python3Packages.pytest-unmagic: add update script

parent 620dda23
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  gitUpdater,
  flit-core,
  pytest,
}:
@@ -29,6 +30,8 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "unmagic" ];

  passthru.updateScript = gitUpdater { rev-prefix = "v"; };

  meta = {
    description = "Pytest fixtures with conventional import semantics";
    homepage = "https://github.com/dimagi/pytest-unmagic";