nixpkgs/pkgs/development/python-modules/prawcore/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
879 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2017-11-07 12:50:11 +00:00
, requests
, testfixtures
, mock
, requests-toolbelt
, betamax
, betamax-serializers
, betamax-matchers
, pytestCheckHook
, pythonOlder
2017-11-07 12:50:11 +00:00
}:
buildPythonPackage rec {
pname = "prawcore";
version = "2.3.0";
disabled = pythonOlder "3.6";
2017-11-07 12:50:11 +00:00
2019-02-09 09:32:00 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs";
2017-11-07 12:50:11 +00:00
};
propagatedBuildInputs = [
requests
];
checkInputs = [
testfixtures
mock
betamax
betamax-serializers
betamax-matchers
requests-toolbelt
pytestCheckHook
2017-11-07 12:50:11 +00:00
];
pythonImportsCheck = [ "prawcore" ];
2019-10-27 01:20:34 +01:00
meta = with lib; {
2017-11-07 12:50:11 +00:00
description = "Low-level communication layer for PRAW";
homepage = "https://praw.readthedocs.org/";
license = licenses.bsd2;
2017-11-07 12:50:11 +00:00
platforms = platforms.all;
maintainers = with maintainers; [ fab ];
2017-11-07 12:50:11 +00:00
};
}