diff --git a/pkgs/development/python-modules/pyreport/default.nix b/pkgs/development/python-modules/pyreport/default.nix new file mode 100644 index 00000000000..d75119b6e32 --- /dev/null +++ b/pkgs/development/python-modules/pyreport/default.nix @@ -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"; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1509b812a78..358b00a977b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };