mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
34 lines
700 B
Nix
34 lines
700 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, importlib-metadata
|
|
, sphinx
|
|
, pyenchant
|
|
, pbr
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-spelling";
|
|
version = "7.3.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9d66dc4990749c5ac52e7eaf17e82f4dc6b4aff6515d26bbf48821829d41bd02";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|