python3Packages.praw: switch to pytestCheckHook

wip/yesman
Fabian Affolter 3 years ago
parent b53f4f3a66
commit 101973ed0f
  1. 22
      pkgs/development/python-modules/praw/default.nix

@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchFromGitHub
{ lib
, buildPythonPackage
, fetchFromGitHub
, betamax
, betamax-serializers
, betamax-matchers
, mock
, six
, pytestrunner
, prawcore
, pytest
, pytestCheckHook
, requests-toolbelt
, update_checker
, websocket_client
@ -18,15 +18,11 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "praw-dev";
repo = "praw";
repo = pname;
rev = "v${version}";
sha256 = "sha256-aEx0swjfyBrSu1fgIiAwdwWmk9v5o7sbT5HTVp7L3R4=";
};
nativeBuildInputs = [
pytestrunner
];
propagatedBuildInputs = [
mock
prawcore
@ -38,16 +34,16 @@ buildPythonPackage rec {
betamax
betamax-serializers
betamax-matchers
mock
pytest
pytestCheckHook
requests-toolbelt
six
];
pythonImportsCheck = [ "praw" ];
meta = with lib; {
description = "Python Reddit API wrapper";
homepage = "https://praw.readthedocs.org/";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ fab ];
};
}

Loading…
Cancel
Save