Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, gitMinimal, hatchling, setuptools-scm,}:
buildPythonPackage rec { pname = "hatch-vcs"; version = "0.5.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { pname = "hatch_vcs"; inherit version; hash = "sha256-A5X6EmlANAIVCQw0Siv04qd7y+faqxb0Gze5jJWAn/k="; };
build-system = [ hatchling ];
dependencies = [ hatchling setuptools-scm ];
nativeCheckInputs = [ gitMinimal pytestCheckHook ];
disabledTests = [ # reacts to our setup-hook pretending a version "test_custom_tag_pattern_get_version" ];
pythonImportsCheck = [ "hatch_vcs" ];
meta = with lib; { changelog = "https://github.com/ofek/hatch-vcs/releases/tag/v${version}"; description = "Plugin for Hatch that uses your preferred version control system (like Git) to determine project versions"; homepage = "https://github.com/ofek/hatch-vcs"; license = licenses.mit; maintainers = with maintainers; [ cpcloud ]; };}