2021-02-05 17:12:51 +00:00
|
|
|
{ lib, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autoflake";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyflakes ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/myint/autoflake";
|
|
|
|
description = "A simple program which removes unused imports and unused variables as reported by pyflakes";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ yuriaisaka ];
|
|
|
|
};
|
|
|
|
}
|