pythonPackages.virtual-display: move expression

This commit is contained in:
Robert Schütz 2018-02-27 22:06:27 +01:00
parent bfe6d6ab34
commit 7076991eec
2 changed files with 21 additions and 17 deletions

View File

@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, EasyProcess }:
buildPythonPackage rec {
pname = "PyVirtualDisplay";
version = "0.1.5";
propagatedBuildInputs = [ EasyProcess ];
src = fetchPypi {
inherit pname version;
sha256 = "aa6aef08995e14c20cc670d933bfa6e70d736d0b555af309b2e989e2faa9ee53";
};
meta = with lib; {
description = "Python wrapper for Xvfb, Xephyr and Xvnc";
homepage = "https://github.com/ponty/pyvirtualdisplay";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ layus ];
};
}

View File

@ -17458,23 +17458,7 @@ in {
virtkey = callPackage ../development/python-modules/virtkey { };
virtual-display = buildPythonPackage rec {
name = "PyVirtualDisplay-0.1.5";
propagatedBuildInputs = with self; [ EasyProcess ];
src = pkgs.fetchurl {
url = "mirror://pypi/P/PyVirtualDisplay/${name}.tar.gz";
sha256 = "aa6aef08995e14c20cc670d933bfa6e70d736d0b555af309b2e989e2faa9ee53";
};
meta = {
description = "Python wrapper for Xvfb, Xephyr and Xvnc";
homepage = "https://github.com/ponty/pyvirtualdisplay";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ layus ];
};
};
virtual-display = callPackage ../development/python-modules/virtual-display { };
virtualenv = callPackage ../development/python-modules/virtualenv { };