18 buildPythonPackage rec {
19 pname = "versioningit";
23 disabled = pythonOlder "3.8";
26 inherit pname version;
27 hash = "sha256-TjzkemQk2FCunlXhsTSgIOn8vLiVM48QfytcUdNMnBs=";
31 substituteInPlace tox.ini \
32 --replace "--cov=versioningit" "" \
33 --replace "--cov-config=tox.ini" "" \
34 --replace "--no-cov-on-fail" ""
41 propagatedBuildInputs = [
43 ] ++ lib.optionals (pythonOlder "3.10") [
45 ] ++ lib.optionals (pythonOlder "3.11") [
61 # wants to write to the Nix store
65 pythonImportsCheck = [
70 description = "setuptools plugin for determining package version from VCS";
71 mainProgram = "versioningit";
72 homepage = "https://github.com/jwodder/versioningit";
73 changelog = "https://versioningit.readthedocs.io/en/latest/changelog.html";
74 license = licenses.mit;
75 maintainers = with maintainers; [ DeeUnderscore ];