Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 36 lines 765 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, requests 3, testfixtures, mock, requests_toolbelt 4, betamax, betamax-serializers, betamax-matchers 5}: 6 7buildPythonPackage rec { 8 pname = "prawcore"; 9 version = "1.0.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "ab5558efb438aa73fc66c4178bfc809194dea3ce2addf4dec873de7e2fd2824e"; 14 }; 15 16 propagatedBuildInputs = [ 17 requests 18 ]; 19 20 checkInputs = [ 21 testfixtures 22 mock 23 betamax 24 betamax-serializers 25 betamax-matchers 26 requests_toolbelt 27 ]; 28 29 meta = with stdenv.lib; { 30 description = "Low-level communication layer for PRAW"; 31 homepage = https://praw.readthedocs.org/; 32 license = licenses.gpl3; 33 platforms = platforms.all; 34 maintainers = with maintainers; [ ]; 35 }; 36}