pythonPackages.pyexcelerator: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 09:31:44 -04:00 committed by Frederik Rietdijk
parent ea912b53ca
commit bdbc70784a
2 changed files with 29 additions and 21 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pyexcelerator";
version = "0.6.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "18rcnc9f71lj06h8nppnv6idzb7xfmh2rp1zfqayskcg686lilrb";
};
disabled = isPy3k;
# No tests are included in archive
doCheck = false;
meta = with stdenv.lib; {
description = "library for generating Excel 97/2000/XP/2003 and OpenOffice Calc compatible spreadsheets.";
homepage = "https://sourceforge.net/projects/pyexcelerator";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ womfoo ];
};
}

View File

@ -3307,27 +3307,7 @@ in {
pyev = callPackage ../development/python-modules/pyev { };
pyexcelerator = buildPythonPackage rec {
name = "pyexcelerator-${version}";
version = "0.6.4.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyexcelerator/${name}.tar.bz2";
sha256 = "18rcnc9f71lj06h8nppnv6idzb7xfmh2rp1zfqayskcg686lilrb";
};
disabled = isPy3k;
# No tests are included in archive
doCheck = false;
meta = {
description = "library for generating Excel 97/2000/XP/2003 and OpenOffice Calc compatible spreadsheets.";
homepage = "https://sourceforge.net/projects/pyexcelerator";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ womfoo ];
};
};
pyexcelerator = callPackage ../development/python-modules/pyexcelerator { };
pyext = callPackage ../development/python-modules/pyext { };