python3Packages.mwclient: 0.11.0 -> 0.11.0-unstable-2026-04-08 (and adopt) (#542741)
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
mock,
|
||||
nix-update-script,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
@@ -11,24 +13,28 @@
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.11.0";
|
||||
buildPythonPackage (finalAttrs: {
|
||||
version = "0.11.0-unstable-2026-05-15";
|
||||
pname = "mwclient";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mwclient";
|
||||
repo = "mwclient";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-qnWVQEG1Ri0z4RYmmG/fxYrlIFFf/6PnP5Dnv0cZb5I=";
|
||||
rev = "87113730b1f41d8160057621bfd90ad88428f602";
|
||||
hash = "sha256-R2erz4oo6111haxlc9zhpgWhihFjMT2Mg/kdWERzcp4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
requests
|
||||
requests-oauthlib
|
||||
six
|
||||
];
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-cov-stub
|
||||
@@ -38,10 +44,14 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "mwclient" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Python client library to the MediaWiki API";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/mwclient/mwclient";
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.klea ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user