pythonPackages.sphinx_pypi_upload: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 17:34:40 -04:00
parent 2caa59c957
commit c878599aab
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 22 additions and 16 deletions

View file

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "Sphinx-PyPI-upload";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "5f919a47ce7a7e6028dba809de81ae1297ac192347cf6fc54efca919d4865159";
};
meta = with stdenv.lib; {
description = "Setuptools command for uploading Sphinx documentation to PyPI";
homepage = https://bitbucket.org/jezdez/sphinx-pypi-upload/;
license = licenses.bsd0;
};
}

View file

@ -3894,22 +3894,7 @@ in {
sphinx-jinja = callPackage ../development/python-modules/sphinx-jinja { };
sphinx_pypi_upload = buildPythonPackage (rec {
name = "Sphinx-PyPI-upload-0.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/S/Sphinx-PyPI-upload/${name}.tar.gz";
sha256 = "5f919a47ce7a7e6028dba809de81ae1297ac192347cf6fc54efca919d4865159";
};
meta = {
description = "Setuptools command for uploading Sphinx documentation to PyPI";
homepage = https://bitbucket.org/jezdez/sphinx-pypi-upload/;
license = "BSD";
};
});
sphinx_pypi_upload = callPackage ../development/python-modules/sphinx_pypi_upload { };
splinter = callPackage ../development/python-modules/splinter { };