3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/prawcore/default.nix
2020-06-11 10:00:18 +02:00

42 lines
822 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, requests
, testfixtures, mock, requests_toolbelt
, betamax, betamax-serializers, betamax-matchers, pytest
}:
buildPythonPackage rec {
pname = "prawcore";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "cf71388d869becbcbdfd90258b19d2173c197a457f2dd0bef0566b6cfb9b95a1";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
testfixtures
mock
betamax
betamax-serializers
betamax-matchers
requests_toolbelt
pytest
];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Low-level communication layer for PRAW";
homepage = "https://praw.readthedocs.org/";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}