2017-11-22 14:44:54 +01:00
|
|
|
{ stdenv, python3Packages }:
|
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autoflake";
|
2019-09-26 07:11:55 +02:00
|
|
|
version = "1.3.1";
|
2017-11-22 14:44:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-26 07:11:55 +02:00
|
|
|
sha256 = "0nzr057dbmgprp4a52ymafdkdd5zp2wcqf42913xc7hhvvdbj338";
|
2017-11-22 14:44:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyflakes ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|