depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-flake8/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

37 lines
750 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flake8
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-flake8";
version = "1.1.1";
disabled = pythonOlder "3.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ba4f243de3cb4c2486ed9e70752c80dd4b636f7ccb27d4eba763c35ed0cd316e";
};
propagatedBuildInputs = [
flake8
];
checkInputs = [
pytestCheckHook
];
meta = {
description = "py.test plugin for efficiently checking PEP8 compliance";
homepage = "https://github.com/tholo/pytest-flake8";
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.bsd2;
broken = true; # https://github.com/tholo/pytest-flake8/issues/87
};
}