2017-11-22 14:44:54 +01:00
|
|
|
{ stdenv, python3Packages }:
|
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "autoflake";
|
2018-02-26 18:47:41 +01:00
|
|
|
version = "1.1";
|
2017-11-22 14:44:54 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 18:47:41 +01:00
|
|
|
sha256 = "a74d684a7a02654f74582addc24a3016c06809316cc140457a4fe93a1e6ed131";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|