blob: f51e8d124a392895c61fc8ca6781dde0074e1313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycodestyle,
pytest-isort,
pytest,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pytest-pycodestyle";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "henry0312";
repo = "pytest-pycodestyle";
tag = "v${version}";
hash = "sha256-X/vacxI0RFHIqlZ2omzvvFDePS/SZYSFQHEmfcbvf/4=";
};
build-system = [ setuptools ];
buildInputs = [ pytest ];
dependencies = [ pycodestyle ];
nativeCheckInputs = [
pytest-isort
pytestCheckHook
];
pythonImportsCheck = [ "pytest_pycodestyle" ];
meta = {
description = "Pytest plugin to run pycodestyle";
homepage = "https://github.com/henry0312/pytest-pycodestyle";
changelog = "https://github.com/henry0312/pytest-pycodestyle/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|