git.iko.soy/typeable/nixpkgs
on master help sign in
ws4py: add git to checkInputs
commit3f5f208d1390c79bbcb74f52a0e422c1d5ecf2c0 authorSamuel Leathers <sam@appliedtrust.com> dateThu 14 Sep 2017, 00:29 (9 years ago) parenta7637b3
2 files changed+27−23
pkgs/development/python-modules/ws4py/default.nix+26 pkgs/top-level/python-packages.nix+1−23
pkgs/development/python-modules/ws4py/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git, asyncio
2+, cherrypy, gevent, tornado }:
3+
4+buildPythonPackage rec {
5+ name = "${pname}-${version}";
6+ pname = "ws4py";
7+ version = "0.4.2";
8+
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks";
12+ };
13+
14+ checkInputs = [ pytest mock git ];
15+ propagatedBuildInputs = [ asyncio cherrypy gevent tornado ];
16+
17+ checkPhase = ''
18+ pytest test
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ homepage = https://ws4py.readthedocs.org;
23+ description = "A WebSocket package for Python";
24+ maintainers = with maintainers; [ rickynils ];
25+ };
26+}
pkgs/top-level/python-packages.nix+1−23
@@ -24545,29 +24545,7 @@ EOF
2454524545 };
2454624546 };
2454724547
24548− ws4py = buildPythonPackage rec {
24549− name = "${pname}-${version}";
24550− pname = "ws4py";
24551− version = "0.4.2";
24552−
24553− src = fetchPypi {
24554− inherit pname version;
24555− sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks";
24556− };
24557−
24558− buildInputs = with self; [ pytest mock ];
24559− propagatedBuildInputs = with self; [ asyncio cherrypy gevent tornado ];
24560−
24561− checkPhase = ''
24562− pytest test
24563− '';
24564−
24565− meta = {
24566− homepage = https://ws4py.readthedocs.org;
24567− description = "A WebSocket package for Python";
24568− maintainers = with maintainers; [ rickynils ];
24569− };
24570− };
24548+ ws4py = callPackage ../development/python-modules/ws4py {};
2457124549
2457224550 gdata = buildPythonPackage rec {
2457324551 name = "gdata-${version}";