Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 40 lines 763 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, praw 6, xmltodict 7, pytz 8, pyenchant 9, pygeoip 10, python 11, isPyPy 12, isPy27 13}: 14 15buildPythonPackage rec { 16 pname = "sopel"; 17 version = "6.6.3"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "aa9a52da9cf33c1d5f6b9b8513d31a339d8cbef9a288487b251538949a4faae1"; 22 }; 23 24 buildInputs = [ pytest ]; 25 propagatedBuildInputs = [ praw xmltodict pytz pyenchant pygeoip ]; 26 27 disabled = isPyPy || isPy27; 28 29 checkPhase = '' 30 ${python.interpreter} test/*.py #*/ 31 ''; 32 33 meta = with stdenv.lib; { 34 description = "Simple and extensible IRC bot"; 35 homepage = "http://sopel.chat"; 36 license = licenses.efl20; 37 maintainers = with maintainers; [ mog ]; 38 }; 39 40}