2020-06-08 21:31:29 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder
|
|
|
|
, flake8-polyfill
|
|
|
|
, importlib-metadata
|
|
|
|
}:
|
2019-01-22 16:22:33 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pep8-naming";
|
2020-07-06 14:02:12 +02:00
|
|
|
version = "0.11.1";
|
2019-01-22 16:22:33 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 14:02:12 +02:00
|
|
|
sha256 = "0937rnk3c2z1jkdmbw9hfm80p5k467q7rqhn6slfiprs4kflgpd1";
|
2019-01-22 16:22:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flake8-polyfill
|
2020-06-08 21:31:29 +02:00
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
|
|
importlib-metadata
|
2019-01-22 16:22:33 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/PyCQA/pep8-naming";
|
2019-01-22 16:22:33 +01:00
|
|
|
description = "Check PEP-8 naming conventions, plugin for flake8";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ eadwu ];
|
|
|
|
};
|
|
|
|
}
|