pythonPackages.sphinx_rtd_theme: refactor move to python-modules
This commit is contained in:
parent
b8ba7b8cdd
commit
43f44c87a8
22
pkgs/development/python-modules/sphinx_rtd_theme/default.nix
Normal file
22
pkgs/development/python-modules/sphinx_rtd_theme/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user