Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 885 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, testfixtures 6, mock 7, requests-toolbelt 8, betamax 9, betamax-serializers 10, betamax-matchers 11, pytestCheckHook 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "prawcore"; 17 version = "2.3.0"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs"; 23 }; 24 25 propagatedBuildInputs = [ 26 requests 27 ]; 28 29 nativeCheckInputs = [ 30 testfixtures 31 mock 32 betamax 33 betamax-serializers 34 betamax-matchers 35 requests-toolbelt 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "prawcore" ]; 40 41 meta = with lib; { 42 description = "Low-level communication layer for PRAW"; 43 homepage = "https://praw.readthedocs.org/"; 44 license = licenses.bsd2; 45 platforms = platforms.all; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}