depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-pep8/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
594 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcache, pep8 }:
buildPythonPackage rec {
pname = "pytest-pep8";
version = "1.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ pytestcache pep8 ];
checkPhase = ''
py.test
'';
# Fails
doCheck = false;
meta = with stdenv.lib; {
license = licenses.mit;
homepage = "https://pypi.python.org/pypi/pytest-pep8";
description = "pytest plugin to check PEP8 requirements";
};
}