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

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.sanic: init at 19.3.1

+70
+68
pkgs/development/python-modules/sanic/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , httptools 5 + , aiofiles 6 + , websockets 7 + , multidict 8 + , uvloop 9 + , ujson 10 + , pytest 11 + , gunicorn 12 + , pytestcov 13 + , aiohttp 14 + , beautifulsoup4 15 + , pytest-sanic 16 + , pytest-sugar 17 + , pytest-benchmark 18 + }: 19 + 20 + buildPythonPackage rec { 21 + pname = "sanic"; 22 + version = "19.3.1"; 23 + 24 + src = fetchPypi { 25 + inherit pname version; 26 + sha256 = "ce434eb154872ca64493a6c3a288f11fd10bca0de7be7bf9f1d0d063185e51ec"; 27 + }; 28 + 29 + propagatedBuildInputs = [ 30 + httptools 31 + aiofiles 32 + websockets 33 + multidict 34 + uvloop 35 + ujson 36 + ]; 37 + 38 + checkInputs = [ 39 + pytest 40 + gunicorn 41 + pytestcov 42 + aiohttp 43 + beautifulsoup4 44 + pytest-sanic 45 + pytest-sugar 46 + pytest-benchmark 47 + ]; 48 + 49 + postConfigure = '' 50 + substituteInPlace setup.py \ 51 + --replace "websockets>=6.0,<7.0" "websockets" 52 + ''; 53 + 54 + # 10/500 tests ignored due to missing directory and 55 + # requiring network access 56 + checkPhase = '' 57 + pytest --ignore tests/test_blueprints.py \ 58 + --ignore tests/test_routes.py \ 59 + --ignore tests/test_worker.py 60 + ''; 61 + 62 + meta = with lib; { 63 + description = "A microframework based on uvloop, httptools, and learnings of flask"; 64 + homepage = http://github.com/channelcat/sanic/; 65 + license = licenses.mit; 66 + maintainers = [ maintainers.costrouc ]; 67 + }; 68 + }
+2
pkgs/top-level/python-packages.nix
··· 4641 4641 4642 4642 sandboxlib = callPackage ../development/python-modules/sandboxlib { }; 4643 4643 4644 + sanic = callPackage ../development/python-modules/sanic { }; 4645 + 4644 4646 scales = callPackage ../development/python-modules/scales { }; 4645 4647 4646 4648 secp256k1 = callPackage ../development/python-modules/secp256k1 {