Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 46 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, glibcLocales, pycodestyle, pytestCheckHook, pythonOlder, setuptools, tomli,}:
buildPythonPackage rec { pname = "autopep8"; version = "2.3.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "hhatto"; repo = "autopep8"; rev = "refs/tags/v${version}"; hash = "sha256-znZw9SnnVMN8XZjko11J5GK/LAk+gmRkTgPEO9+ntJ8="; };
build-system = [ setuptools ];
propagatedBuildInputs = [ pycodestyle ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
nativeCheckInputs = [ glibcLocales pytestCheckHook ];
env.LC_ALL = "en_US.UTF-8";
meta = with lib; { changelog = "https://github.com/hhatto/autopep8/releases/tag/v${version}"; description = "Tool that automatically formats Python code to conform to the PEP 8 style guide"; homepage = "https://github.com/hhatto/autopep8"; license = licenses.mit; mainProgram = "autopep8"; maintainers = with maintainers; [ bjornfor ]; };}