pythonPackages.repoze_sphinx_atointerface: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:06:17 -04:00 committed by Frederik Rietdijk
parent 162db7094f
commit 9974b330f6
2 changed files with 26 additions and 16 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, zope_interface
, sphinx
}:
buildPythonPackage rec {
pname = "repoze.sphinx.autointerface";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "97ef5fac0ab0a96f1578017f04aea448651fa9f063fc43393a8253bff8d8d504";
};
propagatedBuildInputs = [ zope_interface sphinx ];
meta = with stdenv.lib; {
homepage = https://github.com/repoze/repoze.sphinx.autointerface;
description = "Auto-generate Sphinx API docs from Zope interfaces";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -2189,22 +2189,7 @@ in {
repoze_lru = callPackage ../development/python-modules/repoze_lru { };
repoze_sphinx_autointerface = buildPythonPackage rec {
name = "repoze.sphinx.autointerface-0.7.1";
src = pkgs.fetchurl {
url = "mirror://pypi/r/repoze.sphinx.autointerface/${name}.tar.gz";
sha256 = "97ef5fac0ab0a96f1578017f04aea448651fa9f063fc43393a8253bff8d8d504";
};
propagatedBuildInputs = with self; [ zope_interface sphinx ];
meta = {
maintainers = with maintainers; [ domenkozar ];
platforms = platforms.all;
};
};
repoze_sphinx_autointerface = callPackage ../development/python-modules/repoze_sphinx_autointerface { };
setuptools-git = buildPythonPackage rec {
name = "setuptools-git-${version}";