nixpkgs/pkgs/development/tools/analysis/autoflake/default.nix

24 lines
598 B
Nix
Raw Normal View History

{ stdenv, python3Packages }:
with python3Packages;
buildPythonApplication rec {
pname = "autoflake";
2020-09-28 04:54:31 +01:00
version = "1.4";
src = fetchPypi {
inherit pname version;
2020-09-28 04:54:31 +01:00
sha256 = "61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea";
};
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 ];
};
}