Skip to content

Commit

Permalink
ws4py: add git to checkInputs
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f5f208)
  • Loading branch information
Samuel Leathers authored and FRidh committed Sep 14, 2017
1 parent 8822c7f commit c6eb5fb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/ws4py/default.nix
@@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git, asyncio
, cherrypy, gevent, tornado }:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "ws4py";
version = "0.4.2";

src = fetchPypi {
inherit pname version;
sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks";
};

checkInputs = [ pytest mock git ];
propagatedBuildInputs = [ asyncio cherrypy gevent tornado ];

checkPhase = ''
pytest test
'';

meta = with stdenv.lib; {
homepage = https://ws4py.readthedocs.org;
description = "A WebSocket package for Python";
maintainers = with maintainers; [ rickynils ];
};
}
24 changes: 1 addition & 23 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -24735,29 +24735,7 @@ EOF
};
};

ws4py = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "ws4py";
version = "0.4.2";

src = fetchPypi {
inherit pname version;
sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks";
};

buildInputs = with self; [ pytest mock ];
propagatedBuildInputs = with self; [ asyncio cherrypy gevent tornado ];

checkPhase = ''
pytest test
'';

meta = {
homepage = https://ws4py.readthedocs.org;
description = "A WebSocket package for Python";
maintainers = with maintainers; [ rickynils ];
};
};
ws4py = callPackage ../development/python-modules/ws4py {};

gdata = buildPythonPackage rec {
name = "gdata-${version}";
Expand Down

0 comments on commit c6eb5fb

Please sign in to comment.