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