biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / docstr-coverage / default.nix
blob2310ac6ffab708b119452ff708b17cdb1750a292
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   click,
6   pyyaml,
7   tqdm,
8   pytestCheckHook,
9   pytest-mock,
11 let
12   version = "2.3.2";
14 buildPythonPackage {
15   pname = "docstr-coverage";
16   inherit version;
18   src = fetchFromGitHub {
19     owner = "HunterMcGushion";
20     repo = "docstr_coverage";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-k1ny4fWS+CmgLNWPlYPsscjei2UZ6h8QJrZSay5abck=";
23   };
25   propagatedBuildInputs = [
26     click
27     pyyaml
28     tqdm
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     pytest-mock
34   ];
36   disabledTests = [
37     # AssertionError: assert 'docstr_coverage' in '/build/source/tests'
38     "test_set_config_defaults_with_ignore_patterns"
39   ];
41   meta = with lib; {
42     description = "Docstring coverage analysis and rating for Python";
43     mainProgram = "docstr-coverage";
44     homepage = "https://github.com/HunterMcGushion/docstr_coverage";
45     changelog = "https://github.com/HunterMcGushion/docstr_coverage/blob/master/CHANGELOG.md";
46     license = licenses.mit;
47     maintainers = with maintainers; [ augustebaum ];
48   };