2019-02-09 09:32:00 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-11-07 12:50:11 +00:00
|
|
|
, requests
|
|
|
|
, testfixtures, mock, requests_toolbelt
|
|
|
|
, betamax, betamax-serializers, betamax-matchers
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "prawcore";
|
2019-02-09 09:32:00 +00:00
|
|
|
version = "1.0.1";
|
2017-11-07 12:50:11 +00:00
|
|
|
|
2019-02-09 09:32:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "ab5558efb438aa73fc66c4178bfc809194dea3ce2addf4dec873de7e2fd2824e";
|
2017-11-07 12:50:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
testfixtures
|
|
|
|
mock
|
|
|
|
betamax
|
|
|
|
betamax-serializers
|
|
|
|
betamax-matchers
|
|
|
|
requests_toolbelt
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Low-level communication layer for PRAW";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = https://praw.readthedocs.org/;
|
2017-11-07 12:50:11 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-11-07 12:50:11 +00:00
|
|
|
};
|
|
|
|
}
|