Skip to content

Commit

Permalink
pythonPackages.virtual-display: move expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Feb 27, 2018
1 parent bfe6d6a commit 7076991
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/virtual-display/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
18 changes: 1 addition & 17 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 7076991

Please sign in to comment.