mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
python3Packages.pre-commit-po-hooks: init at 1.7.3
@moduon MT-1075
This commit is contained in:
parent
eb4f8bd5bb
commit
b9fe3c3e1f
@ -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 ];
|
||||
};
|
||||
}
|
@ -10033,6 +10033,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 { };
|
||||
|
||||
premailer = callPackage ../development/python-modules/premailer { };
|
||||
|
Loading…
Reference in New Issue
Block a user