mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
42 lines
822 B
Nix
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.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ab5558efb438aa73fc66c4178bfc809194dea3ce2addf4dec873de7e2fd2824e";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|