Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, chardet, fetchPypi, hatchling, jinja2, pluggy, pycodestyle, pyflakes, pygments, pylint, pytest-datadir, pytest-mock, pytestCheckHook, tomli,}:
buildPythonPackage rec { pname = "diff-cover"; version = "10.6.0"; pyproject = true;
src = fetchPypi { pname = "diff_cover"; inherit version; hash = "sha256-jRGU37U39wSArJfJxF3UByHPTDJsmQP76ZfbZ6TbYZU="; };
build-system = [ hatchling ];
dependencies = [ chardet jinja2 pluggy pygments ];
optional-dependencies = { toml = [ tomli ]; };
nativeCheckInputs = [ pycodestyle pyflakes pylint pytest-datadir pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "diff_cover" ];
meta = { 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 = lib.licenses.asl20; maintainers = [ ]; mainProgram = "diff-cover"; };}