42 lines
741 B
Nix
42 lines
741 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|