···1-{ lib, buildPythonPackage, fetchPypi
2-, chardet
3-, inflect
4-, jinja2
5-, jinja2_pluralize
6-, pygments
7-, six
8-# test dependencies
9-, coverage
10-, mock
11-, nose
12-, pycodestyle
13-, pyflakes
14-, pylint
15-, pytest
16-}:
17-18-buildPythonPackage rec {
19- pname = "diff_cover";
20- version = "5.2.0";
21-22- preCheck = ''
23- export LC_ALL=en_US.UTF-8;
24- '';
25-26- src = fetchPypi {
27- inherit pname version;
28- sha256 = "a1cd54232d2e48bd4c1eabc96cfe4a8727a9a92fd2556b52ff8f65bb8adf8768";
29- };
30-31- propagatedBuildInputs = [ chardet jinja2 jinja2_pluralize pygments six inflect ];
32-33- checkInputs = [ mock coverage pytest nose pylint pyflakes pycodestyle ];
34-35- # ignore tests which try to write files
36- checkPhase = ''
37- pytest -k 'not added_file_pylint_console and not file_does_not_exist'
38- '';
39-40- meta = with lib; {
41- description = "Automatically find diff lines that need test coverage";
42- homepage = "https://github.com/Bachmann1234/diff-cover";
43- license = licenses.asl20;
44- maintainers = with maintainers; [ dzabraev ];
45- };
46-}
···0000000000000000000000000000000000000000000000
+1
pkgs/top-level/python-aliases.nix
···36 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29
37 bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
38 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
039 dns = dnspython; # Alias for compatibility, 2017-12-10
40 faulthandler = throw "faulthandler is built into ${python.executable}";
41 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
···36 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29
37 bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
38 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
39+ diff_cover = diff-cover; # added 2021-07-02
40 dns = dnspython; # Alias for compatibility, 2017-12-10
41 faulthandler = throw "faulthandler is built into ${python.executable}";
42 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14