python312Packages.sphinxcontrib-jinjadomain: init at 0.5.1
This commit is contained in:
parent
097350409e
commit
08ffc80b0b
@ -0,0 +1,38 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
sphinx,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-jinjadomain";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-frzcrUnJna8wmKbsC7wduazLSZ8lzOKOCf75Smk675E=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace sphinxcontrib/jinjadomain.py \
|
||||
--replace-fail "content.sort(key=lambda (k, v): k)" "content.sort(key=lambda kv: kv[0])"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ sphinx ];
|
||||
|
||||
pythonImportsCheck = [ "sphinxcontrib.jinjadomain" ];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx domain for describing jinja templates";
|
||||
homepage = "https://github.com/offlinehacker/sphinxcontrib.jinjadomain";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ tochiaha ];
|
||||
mainProgram = "sphinxcontrib-jinjadomain";
|
||||
};
|
||||
}
|
@ -14852,6 +14852,8 @@ self: super: with self; {
|
||||
|
||||
sphinxcontrib-httpdomain = callPackage ../development/python-modules/sphinxcontrib-httpdomain { };
|
||||
|
||||
sphinxcontrib-jinjadomain = callPackage ../development/python-modules/sphinxcontrib-jinjadomain { };
|
||||
|
||||
sphinxcontrib-jquery = callPackage ../development/python-modules/sphinxcontrib-jquery { };
|
||||
|
||||
sphinxcontrib-jsmath = callPackage ../development/python-modules/sphinxcontrib-jsmath { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user