nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 862 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 sphinx, 7 sphinxHook, 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxemoji"; 12 version = "0.3.2"; 13 pyproject = true; 14 15 outputs = [ 16 "out" 17 "doc" 18 ]; 19 20 src = fetchFromGitHub { 21 owner = "sphinx-contrib"; 22 repo = "emojicodes"; 23 tag = "v${version}"; 24 hash = "sha256-2/2fOIxjF4vs90uqZyzfidrh+P/MHa+LTf1RsQYmgZ0="; 25 }; 26 27 nativeBuildInputs = [ 28 setuptools 29 sphinxHook 30 ]; 31 32 propagatedBuildInputs = [ 33 sphinx 34 # sphinxemoji.py imports pkg_resources directly 35 setuptools 36 ]; 37 38 pythonImportsCheck = [ "sphinxemoji" ]; 39 40 meta = { 41 description = "Extension to use emoji codes in your Sphinx documentation"; 42 homepage = "https://github.com/sphinx-contrib/emojicodes"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ kaction ]; 45 }; 46}