Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, setuptools, fetchFromGitLab, pyprojectVersionPatchHook,}:
buildPythonPackage rec { pname = "git-versioner"; version = "7.1"; pyproject = true;
src = fetchFromGitLab { owner = "alelec"; repo = "__version__"; tag = "v${version}"; hash = "sha256-bnpuFJSd4nBXJA75V61kiB+nU5pUzdEAIScfKx7aaGU="; };
build-system = [ setuptools ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
pythonImportsCheck = [ "__version__" ];
meta = { description = "Manage current / next version for project"; homepage = "https://gitlab.com/alelec/__version__"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ slotThe ]; };}