1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools
5, sphinx
6, sphinxHook
7}:
8
9buildPythonPackage rec {
10 pname = "sphinxemoji";
11 version = "0.2.0";
12 format = "pyproject";
13
14 outputs = [ "out" "doc" ];
15
16 src = fetchFromGitHub {
17 owner = "sphinx-contrib";
18 repo = "emojicodes";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-TLhjpJpUIoDAe3RZ/7sjTgdW+5s7OpMEd1/w0NyCQ3A=";
21 };
22
23 nativeBuildInputs = [
24 setuptools
25 sphinxHook
26 ];
27
28 propagatedBuildInputs = [
29 sphinx
30 ];
31
32 pythonImportsCheck = [
33 "sphinxemoji"
34 ];
35
36 meta = with lib; {
37 description = "Extension to use emoji codes in your Sphinx documentation";
38 homepage = "https://github.com/sphinx-contrib/emojicodes";
39 license = licenses.mit;
40 maintainers = with maintainers; [ kaction ];
41 };
42}