mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
https://github.com/Bachmann1234/diff_cover/releases/tag/v10.6.0 Assisted-by: Antigravity (Gemini 3.8 Flash)
63 lines
1.1 KiB
Nix
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 = with lib.maintainers; [ dzabraev ];
|
|
mainProgram = "diff-cover";
|
|
};
|
|
}
|