depot/third_party/nixpkgs/pkgs/development/python-modules/autopep8/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

39 lines
788 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pycodestyle
, glibcLocales
, toml
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "autopep8";
version = "1.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ypsag+U6f61l1zHceiotUKpI9DhQQHxZ9qGjBsQgEUI=";
};
propagatedBuildInputs = [ pycodestyle toml ];
checkInputs = [
glibcLocales
pytestCheckHook
];
disabledTests = [
# missing tox.ini file from pypi package
"test_e101_skip_innocuous"
];
LC_ALL = "en_US.UTF-8";
meta = with lib; {
description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
homepage = "https://pypi.org/project/autopep8/";
license = licenses.mit;
maintainers = with maintainers; [ bjornfor ];
};
}