nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ws4py: add git to checkInputs

(cherry picked from commit 3f5f208d1390c79bbcb74f52a0e422c1d5ecf2c0)

authored by

Samuel Leathers and committed by
Frederik Rietdijk
c6eb5fbe 8822c7f3

+27 -23
+26
pkgs/development/python-modules/ws4py/default.nix
··· 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 + }
+1 -23
pkgs/top-level/python-packages.nix
··· 24735 24735 }; 24736 24736 }; 24737 24737 24738 - ws4py = buildPythonPackage rec { 24739 - name = "${pname}-${version}"; 24740 - pname = "ws4py"; 24741 - version = "0.4.2"; 24742 - 24743 - src = fetchPypi { 24744 - inherit pname version; 24745 - sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks"; 24746 - }; 24747 - 24748 - buildInputs = with self; [ pytest mock ]; 24749 - propagatedBuildInputs = with self; [ asyncio cherrypy gevent tornado ]; 24750 - 24751 - checkPhase = '' 24752 - pytest test 24753 - ''; 24754 - 24755 - meta = { 24756 - homepage = https://ws4py.readthedocs.org; 24757 - description = "A WebSocket package for Python"; 24758 - maintainers = with maintainers; [ rickynils ]; 24759 - }; 24760 - }; 24738 + ws4py = callPackage ../development/python-modules/ws4py {}; 24761 24739 24762 24740 gdata = buildPythonPackage rec { 24763 24741 name = "gdata-${version}";