depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

33 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, sphinx
, pyenchant
, pbr
}:
buildPythonPackage rec {
pname = "sphinxcontrib-spelling";
version = "7.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "f2578653014931b32c8c30d1a9930d998ae053b0d8b7adfbea0eb95a63e7a737";
};
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;
};
}