Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
910 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ buildPythonPackage, pythonOlder, fetchPypi, lib, python, pytestCheckHook,}:
buildPythonPackage rec { pname = "pycodestyle"; version = "2.12.0";
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-RC+VAUG09D33Ut0wNRH/3tOgTCtvt/ZZgFdPDDHm55w="; };
pythonImportsCheck = [ "pycodestyle" ];
nativCheckInputs = [ pytestCheckHook ];
# https://github.com/PyCQA/pycodestyle/blob/2.11.0/tox.ini#L16 postCheck = '' ${python.interpreter} -m pycodestyle --statistics pycodestyle.py '';
meta = with lib; { changelog = "https://github.com/PyCQA/pycodestyle/blob/${version}/CHANGES.txt"; description = "Python style guide checker"; mainProgram = "pycodestyle"; homepage = "https://pycodestyle.pycqa.org/"; license = licenses.mit; maintainers = with maintainers; [ kamadorueda ]; };}