Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 73 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, chardet, fetchPypi, jinja2, jinja2-pluralize, pluggy, poetry-core, pycodestyle, pyflakes, pygments, pylint, pytest-datadir, pytest-mock, pytestCheckHook, pythonOlder, tomli,}:
buildPythonPackage rec { pname = "diff-cover"; version = "9.3.2"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi { pname = "diff_cover"; inherit version; hash = "sha256-Kpkjn7iWhlDaR5aKg0YHtreXFD5dBAXiTEWnG+WQdVs="; };
build-system = [ poetry-core ];
dependencies = [ chardet jinja2 jinja2-pluralize pluggy pygments tomli ];
nativeCheckInputs = [ pycodestyle pyflakes pylint pytest-datadir pytest-mock pytestCheckHook ];
disabledTests = [ # Tests check for flake8 "file_does_not_exist" # Comparing console output doesn't work reliable "console" # Assertion failure "test_html_with_external_css" "test_style_defs" ];
pythonImportsCheck = [ "diff_cover" ];
meta = with lib; { description = "Automatically find diff lines that need test coverage"; homepage = "https://github.com/Bachmann1234/diff-cover"; changelog = "https://github.com/Bachmann1234/diff_cover/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ dzabraev ]; };}