mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
0215034f25
when they already rely on SRI hashes.
40 lines
748 B
Nix
40 lines
748 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, sphinx
|
|
, sphinxHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxemoji";
|
|
version = "0.2.0";
|
|
|
|
outputs = [ "out" "doc" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sphinx-contrib";
|
|
repo = "emojicodes";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-TLhjpJpUIoDAe3RZ/7sjTgdW+5s7OpMEd1/w0NyCQ3A=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
sphinxHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"sphinxemoji"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Extension to use emoji codes in your Sphinx documentation";
|
|
homepage = "https://github.com/sphinx-contrib/emojicodes";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kaction ];
|
|
};
|
|
}
|