Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103{ lib, buildPythonPackage, fetchFromGitHub,
# build system hatchling, hatch-vcs,
# dependencies click, httpx2, pydantic, pydantic-settings, questionary, rich-click, rich, tomlkit, wcmatch,
# test mercurial, gitMinimal, freezegun, pytest-cov-stub, pytest-localserver, pytest-mock, pytestCheckHook, versionCheckHook,}:
buildPythonPackage rec { pname = "bump-my-version"; version = "1.8.1"; pyproject = true;
src = fetchFromGitHub { owner = "callowayproject"; repo = "bump-my-version"; tag = version; hash = "sha256-mqliODDEr7SYZCyDyYBV0skSrYnYVynSXmqBzOG6Fs0="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ click httpx2 pydantic pydantic-settings questionary rich-click rich tomlkit wcmatch ];
env = { GIT_AUTHOR_NAME = "test"; GIT_COMMITTER_NAME = "test"; GIT_AUTHOR_EMAIL = "test@example.com"; GIT_COMMITTER_EMAIL = "test@example.com"; };
nativeCheckInputs = [ mercurial gitMinimal freezegun pytest-cov-stub pytest-localserver pytest-mock pytestCheckHook versionCheckHook ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "bumpversion" ];
disabledTests = [ # Tests want echo "test_no_shell_expansion_of_args" ];
meta = { description = "Small command line tool to update version"; longDescription = '' This is a maintained refactor of the bump2version fork of the excellent bumpversion project. This is a small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment and optionally commit and tag the changes. ''; homepage = "https://github.com/callowayproject/bump-my-version"; changelog = "https://github.com/callowayproject/bump-my-version/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ daspk04 ]; mainProgram = "bump-my-version"; };}