pythonPackages.sphinx_rtd_theme: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 10:19:59 -04:00
parent b8ba7b8cdd
commit 43f44c87a8
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 15 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sphinx_rtd_theme";
version = "0.2.5b2";
src = fetchPypi {
inherit pname version;
sha256 = "0grf16fi4g0p3dfh11b1624ic34iqkjhf5i1g6hvsh4nlm0ll00q";
};
meta = with stdenv.lib; {
description = "ReadTheDocs.org theme for Sphinx";
homepage = https://github.com/snide/sphinx_rtd_theme/;
license = licenses.bsd3;
platforms = platforms.unix;
};
}

View File

@ -3870,21 +3870,7 @@ in {
hieroglyph = callPackage ../development/python-modules/hieroglyph { }; hieroglyph = callPackage ../development/python-modules/hieroglyph { };
sphinx_rtd_theme = buildPythonPackage (rec { sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
name = "sphinx_rtd_theme-0.2.5b2";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sphinx_rtd_theme/${name}.tar.gz";
sha256 = "0grf16fi4g0p3dfh11b1624ic34iqkjhf5i1g6hvsh4nlm0ll00q";
};
meta = {
description = "ReadTheDocs.org theme for Sphinx";
homepage = https://github.com/snide/sphinx_rtd_theme/;
license = licenses.bsd3;
platforms = platforms.unix;
};
});
guzzle_sphinx_theme = callPackage ../development/python-modules/guzzle_sphinx_theme { }; guzzle_sphinx_theme = callPackage ../development/python-modules/guzzle_sphinx_theme { };