Files
nixpkgs/pkgs/development/python-modules/flake8-quotes/default.nix
2024-12-17 21:20:23 +01:00

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 ];
};
}