1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flake8,
6 setuptools,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "flake8-quotes";
12 version = "3.4.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "zheller";
17 repo = "flake8-quotes";
18 tag = version;
19 hash = "sha256-A8PBdYQzOBpMYBQGchZouuZiZqmwhhjp2PJblnNZOFU=";
20 };
21
22 build-system = [
23 setuptools
24 ];
25
26 nativeCheckInputs = [
27 flake8
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [
32 "flake8_quotes"
33 ];
34
35 meta = {
36 description = "Flake8 extension for checking quotes in python";
37 homepage = "https://github.com/zheller/flake8-quotes/";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ nim65s ];
40 };
41}