17 buildPythonPackage rec {
18 pname = "versioningit";
20 disabled = pythonOlder "3.8";
24 inherit pname version;
25 hash = "sha256-gJfiYNm99nZYW9gTO/e1//rDeox2KWJVtC2Gy1EqsuM=";
29 substituteInPlace tox.ini \
30 --replace "--cov=versioningit" "" \
31 --replace "--cov-config=tox.ini" "" \
32 --replace "--no-cov-on-fail" ""
35 propagatedBuildInputs = [
39 ] ++ lib.optionals (pythonOlder "3.10") [
53 # wants to write to the Nix store
57 pythonImportsCheck = [
62 description = "setuptools plugin for determining package version from VCS";
63 homepage = "https://github.com/jwodder/versioningit";
64 changelog = "https://versioningit.readthedocs.io/en/latest/changelog.html";
65 license = licenses.mit;
66 maintainers = with maintainers; [ DeeUnderscore ];