mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 20:23:39 +00:00
python3Packages.pre-commit-po-hooks: init at 1.7.3 (#295568)
This commit is contained in:
commit
2fd1b9ec70
@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pre-commit-po-hooks";
|
||||
version = "1.7.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mondeja";
|
||||
repo = "pre-commit-po-hooks";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wTmcV8KkoQLuK4EWDt0pbp+EQJRatxnQYeBfikK+vlA=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "pre_commit_po_hooks" ];
|
||||
|
||||
meta = {
|
||||
description = "Hooks for pre-commit useful working with PO files";
|
||||
homepage = "https://github.com/mondeja/pre-commit-po-hooks";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ yajo ];
|
||||
};
|
||||
}
|
@ -10950,6 +10950,8 @@ self: super: with self; {
|
||||
|
||||
pre-commit-hooks = callPackage ../development/python-modules/pre-commit-hooks { };
|
||||
|
||||
pre-commit-po-hooks = callPackage ../development/python-modules/pre-commit-po-hooks { };
|
||||
|
||||
preggy = callPackage ../development/python-modules/preggy { };
|
||||
|
||||
preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { };
|
||||
|
Loading…
Reference in New Issue
Block a user