python3Packages.pytest-unmagic: add update script

jopejoe1 2c9de9e1 620dda23

Changed files
+3
pkgs
development
python-modules
pytest-unmagic
+3
pkgs/development/python-modules/pytest-unmagic/default.nix
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
flit-core,
pytest,
}:
···
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "unmagic" ];
meta = {
description = "Pytest fixtures with conventional import semantics";
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
+
gitUpdater,
flit-core,
pytest,
}:
···
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "unmagic" ];
+
+
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Pytest fixtures with conventional import semantics";