1 { lib, fetchFromGitHub, python3Packages }:
3 with python3Packages; buildPythonApplication rec {
7 src = fetchFromGitHub {
11 sha256 = "0hwfny48g394visa3xd15425fsw596r3lhkfhswpjrdk2mnk3cny";
14 # Converting the shebang manually as it is not picked up by patchShebangs
16 substituteInPlace pylint_exit.py \
17 --replace "#!/usr/local/bin/python" "#!${python.interpreter}"
20 # See https://github.com/jongracecox/pylint-exit/pull/7
21 buildInputs = [ m2r ];
23 # setup.py reads its version from the TRAVIS_TAG environment variable
27 ${python.interpreter} -m doctest pylint_exit.py
31 description = "Utility to handle pylint exit codes in an OS-friendly way";
32 license = licenses.mit;
33 homepage = "https://github.com/jongracecox/pylint-exit";
34 maintainers = [ maintainers.fabiangd ];