pythonPackages.sphinxcontrib_newsfeed: refactor move to ypthon-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 17:28:45 -04:00
parent 56dfe057d2
commit b922753053
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 16 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-newsfeed";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p";
};
propagatedBuildInputs = [ sphinx ];
meta = with stdenv.lib; {
description = "Extension for adding a simple Blog, News or Announcements section to a Sphinx website";
homepage = https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;
license = licenses.bsd2;
};
}

View File

@ -3886,22 +3886,7 @@ in {
sphinx-navtree = callPackage ../development/python-modules/sphinx-navtree {}; sphinx-navtree = callPackage ../development/python-modules/sphinx-navtree {};
sphinxcontrib_newsfeed = buildPythonPackage (rec { sphinxcontrib_newsfeed = callPackage ../development/python-modules/sphinxcontrib_newsfeed { };
name = "sphinxcontrib-newsfeed-${version}";
version = "0.1.4";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sphinxcontrib-newsfeed/${name}.tar.gz";
sha256 = "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p";
};
propagatedBuildInputs = with self; [sphinx];
meta = {
description = "Extension for adding a simple Blog, News or Announcements section to a Sphinx website";
homepage = https://bitbucket.org/prometheus/sphinxcontrib-newsfeed;
license = licenses.bsd2;
};
});
sphinxcontrib_plantuml = buildPythonPackage (rec { sphinxcontrib_plantuml = buildPythonPackage (rec {
name = "sphinxcontrib-plantuml-0.7"; name = "sphinxcontrib-plantuml-0.7";