autoflake: move to pythonPackages
It is imported by pydantic.
This commit is contained in:
parent
32a8d42f3d
commit
2b671e96a8
@ -1,21 +1,24 @@
|
||||
{ lib
|
||||
, python3
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyflakes
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "autoflake";
|
||||
version = "1.4";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-YaNTASz/arlMoGKCPR+y9pLErNpRx2/4Oo13kV+6Ueo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = [
|
||||
pyflakes
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -2644,7 +2644,7 @@ with pkgs;
|
||||
|
||||
authenticator = callPackage ../applications/misc/authenticator { };
|
||||
|
||||
autoflake = callPackage ../development/tools/analysis/autoflake { };
|
||||
autoflake = with python3.pkgs; toPythonApplication autoflake;
|
||||
|
||||
autospotting = callPackage ../applications/misc/autospotting { };
|
||||
|
||||
|
@ -780,6 +780,8 @@ self: super: with self; {
|
||||
|
||||
autofaiss = callPackage ../development/python-modules/autofaiss { };
|
||||
|
||||
autoflake = callPackage ../development/python-modules/autoflake { };
|
||||
|
||||
autograd = callPackage ../development/python-modules/autograd { };
|
||||
|
||||
autoit-ripper = callPackage ../development/python-modules/autoit-ripper { };
|
||||
|
Loading…
Reference in New Issue
Block a user