pythonPackages.sphinxcontrib-spelling: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-27 17:32:44 -04:00
parent 44713571fc
commit 2caa59c957
2 changed files with 31 additions and 18 deletions

View File

@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, sphinx
, pyenchant
, pbr
}:
buildPythonPackage rec {
pname = "sphinxcontrib-spelling";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1f0fymrk4kvhqs0vj9gay4lhacxkfrlrpj4gvg0p4wjdczplxd3z";
};
propagatedBuildInputs = [ sphinx pyenchant pbr ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
description = "Sphinx spelling extension";
homepage = https://bitbucket.org/dhellmann/sphinxcontrib-spelling;
maintainers = with maintainers; [ nand0p ];
license = licenses.bsd2;
};
}