python311Packages.prawcore: 2.3.0 -> 2.4.0
Diff: https://github.com/praw-dev/prawcore/compare/refs/tags/v2.3.0...v2.4.0 Changelog: https://github.com/praw-dev/prawcore/blob/v2.4.0/CHANGES.rst
This commit is contained in:
parent
6d0a1d4ceb
commit
594795213b
1 changed files with 25 additions and 14 deletions
|
@ -1,27 +1,36 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, requests
|
|
||||||
, testfixtures
|
|
||||||
, mock
|
|
||||||
, requests-toolbelt
|
|
||||||
, betamax
|
, betamax
|
||||||
, betamax-serializers
|
|
||||||
, betamax-matchers
|
, betamax-matchers
|
||||||
|
, betamax-serializers
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flit-core
|
||||||
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, requests-toolbelt
|
||||||
|
, testfixtures
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "prawcore";
|
pname = "prawcore";
|
||||||
version = "2.3.0";
|
version = "2.4.0";
|
||||||
disabled = pythonOlder "3.6";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.8";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs";
|
src = fetchFromGitHub {
|
||||||
|
owner = "praw-dev";
|
||||||
|
repo = "prawcore";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-tECZRx6VgyiJDKHvj4Rf1sknFqUhz3sDFEsAMOeB7/g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
@ -36,13 +45,15 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "prawcore" ];
|
pythonImportsCheck = [
|
||||||
|
"prawcore"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Low-level communication layer for PRAW";
|
description = "Low-level communication layer for PRAW";
|
||||||
homepage = "https://praw.readthedocs.org/";
|
homepage = "https://praw.readthedocs.org/";
|
||||||
|
changelog = "https://github.com/praw-dev/prawcore/blob/v${version}/CHANGES.rst";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue