My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix

34 lines
687 B

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, sphinx
, pyenchant
, pbr
}:
buildPythonPackage rec {
pname = "sphinxcontrib-spelling";
version = "7.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OBnRJinZXgyQkiT6QLRipn4K2zIdUCg9f8DRFobIrH4=";
};
propagatedBuildInputs = [ sphinx pyenchant pbr ]
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
# No tests included
doCheck = false;
meta = with lib; {
description = "Sphinx spelling extension";
homepage = "https://bitbucket.org/dhellmann/sphinxcontrib-spelling";
maintainers = with maintainers; [ ];
license = licenses.bsd2;
};
}