Files
nixpkgs/pkgs/development/python-modules/diff-cover/default.nix
Rafael Ieda d9dcd548f0 maintainers: drop dzabraev
Inactive since 2018, see https://github.com/NixOS/nixpkgs/issues/576595

Assisted-by: Claude Code (claude-opus-5-5)
2026-10-28 01:06:46 -03:00

63 lines
1.1 KiB
Nix

{
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";
};
}