1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/development/python-modules/pytest-flake8/default.nix
Jaakko Luttinen c639df5fa4
pythonPackages.pytest-flake8: 1.0.0 -> 1.0.1
This upgrade fixes #39206.
2018-05-01 17:13:37 +03:00

29 lines
772 B
Nix

{lib, buildPythonPackage, fetchPypi, fetchpatch, pytest, flake8}:
buildPythonPackage rec {
pname = "pytest-flake8";
version = "1.0.1";
# although pytest is a runtime dependency, do not add it as
# propagatedBuildInputs in order to allow packages depend on another version
# of pytest more easily
buildInputs = [ pytest ];
propagatedBuildInputs = [ flake8 ];
src = fetchPypi {
inherit pname version;
sha256 = "0s5fdivrmhjf6ybr6m2qb1h8hndv2jh2ir29qv36lhy9b7sc9kg5";
};
checkPhase = ''
pytest .
'';
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;
};
}