pythonPackages.qserve: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:04:39 -04:00 committed by Frederik Rietdijk
parent 5fb20f86c5
commit e3227bc63b
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "qserve";
version = "0.2.8";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0b04b2d4d11b464ff1efd42a9ea9f8136187d59f4076f57c9ba95361d41cd7ed";
};
meta = with stdenv.lib; {
description = "Job queue server";
homepage = "https://github.com/pediapress/qserve";
license = licenses.bsd3;
};
}

View File

@ -3558,23 +3558,7 @@ in {
qscintilla = callPackage ../development/python-modules/qscintilla { };
qserve = buildPythonPackage rec {
name = "qserve-0.2.8";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/q/qserve/${name}.zip";
sha256 = "0b04b2d4d11b464ff1efd42a9ea9f8136187d59f4076f57c9ba95361d41cd7ed";
};
buildInputs = with self; [ ];
meta = {
description = "Job queue server";
homepage = "https://github.com/pediapress/qserve";
license = licenses.bsd3;
};
};
qserve = callPackage ../development/python-modules/qserve { };
qtawesome = callPackage ../development/python-modules/qtawesome { };