summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flake8-quotes/default.nix
blob: 47be6b6f096c99579b4d781abb57f57782be0762 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flake8,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "flake8-quotes";
  version = "3.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "zheller";
    repo = "flake8-quotes";
    tag = version;
    hash = "sha256-A8PBdYQzOBpMYBQGchZouuZiZqmwhhjp2PJblnNZOFU=";
  };

  build-system = [
    setuptools
  ];

  nativeCheckInputs = [
    flake8
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "flake8_quotes"
  ];

  meta = {
    description = "Flake8 extension for checking quotes in python";
    homepage = "https://github.com/zheller/flake8-quotes/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ nim65s ];
  };
}