forked from mirrors/nixpkgs
pythonPackages.sphinxcontrib_plantuml: refactor move to python-modules
This commit is contained in:
parent
b922753053
commit
44713571fc
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, sphinx
|
||||||
|
, plantuml
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sphinxcontrib-plantuml";
|
||||||
|
version = "0.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "011yprqf41dcm1824zgk2w8vi9115286pmli6apwhlrsxc6b6cwv";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests included.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ sphinx plantuml ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
|
||||||
|
homepage = https://bitbucket.org/birkenfeld/sphinx-contrib;
|
||||||
|
license = with licenses; [ bsd2 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -3888,25 +3888,7 @@ in {
|
||||||
|
|
||||||
sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
|
sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
|
||||||
|
|
||||||
sphinxcontrib_plantuml = buildPythonPackage (rec {
|
sphinxcontrib_plantuml = callPackage ../development/python-modules/sphinxcontrib_plantuml { };
|
||||||
name = "sphinxcontrib-plantuml-0.7";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/sphinxcontrib-plantuml/${name}.tar.gz";
|
|
||||||
sha256 = "011yprqf41dcm1824zgk2w8vi9115286pmli6apwhlrsxc6b6cwv";
|
|
||||||
};
|
|
||||||
|
|
||||||
# No tests included.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [sphinx plantuml];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
|
|
||||||
homepage = https://bitbucket.org/birkenfeld/sphinx-contrib;
|
|
||||||
license = with licenses; [ bsd2 ];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
sphinxcontrib-spelling = buildPythonPackage (rec {
|
sphinxcontrib-spelling = buildPythonPackage (rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
Loading…
Reference in a new issue