pythonPackages.pyreport: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:28:55 -04:00 committed by Frederik Rietdijk
parent d6a9aca44f
commit 16553bb676
2 changed files with 27 additions and 18 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pyreport";
version = "0.3.4c";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1584607596b7b310bf0b6ce79f424bd44238a017fd870aede11cd6732dbe0d4d";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/pyreport;
license = licenses.bsd0;
description = "Pyreport makes notes out of a python script";
};
}

View File

@ -3477,24 +3477,7 @@ in {
pyquery = callPackage ../development/python-modules/pyquery { };
pyreport = buildPythonPackage (rec {
name = "pyreport-0.3.4c";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyreport/${name}.tar.gz";
sha256 = "1584607596b7b310bf0b6ce79f424bd44238a017fd870aede11cd6732dbe0d4d";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = https://pypi.python.org/pypi/pyreport;
license = "BSD";
description = "Pyreport makes notes out of a python script";
};
});
pyreport = callPackage ../development/python-modules/pyreport { };
pyreadability = callPackage ../development/python-modules/pyreadability { };