pythonPackages.autoflake: init at 1.0 (#31879)
This commit is contained in:
parent
acfd95a249
commit
e3bcdd4e7a
24
pkgs/development/tools/analysis/autoflake/default.nix
Normal file
24
pkgs/development/tools/analysis/autoflake/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, python3Packages }:
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
pname = "autoflake";
|
||||
version = "1.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12k4v8w7awqp83j727y0iwcbjqj3ccvbai7c9m0wgbmq5xkvav8a";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -511,6 +511,8 @@ with pkgs;
|
||||
python3Packages = python34Packages;
|
||||
};
|
||||
|
||||
autoflake = callPackage ../development/tools/analysis/autoflake { };
|
||||
|
||||
avfs = callPackage ../tools/filesystems/avfs { };
|
||||
|
||||
awscli = pythonPackages.callPackage ../tools/admin/awscli { };
|
||||
|
Loading…
Reference in New Issue
Block a user