summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/autoflake/default.nix
blob: 03e01aadb71671da261a922feea63a90d0750520 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, python3Packages }:

with python3Packages;
buildPythonApplication rec {
  pname = "autoflake";
  version = "1.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "61a353012cff6ab94ca062823d1fb2f692c4acda51c76ff83a8d77915fba51ea";
  };

  propagatedBuildInputs = [ pyflakes ];

  doCheck = true;

  meta = with 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 ];
  };
}