2021-01-25 00:26:54 -08:00
|
|
|
{ lib, python3Packages }:
|
2017-11-22 05:44:54 -08:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autoflake";
|
2020-09-27 20:54:31 -07:00
|
|
|
version = "1.4";
|
2017-11-22 05:44:54 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-27 20:54:31 -07:00
|
|
|
sha256 = "61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea";
|
2017-11-22 05:44:54 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyflakes ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-23 04:26:19 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/myint/autoflake";
|
2017-11-22 05:44:54 -08:00
|
|
|
description = "A simple program which removes unused imports and unused variables as reported by pyflakes";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ yuriaisaka ];
|
|
|
|
};
|
|
|
|
}
|