mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 05:39:58 +00:00
python3Packages.stdlibs: 2026.2.26 -> 2026.9.3 (#559706)
This commit is contained in:
@@ -3,32 +3,41 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
moreorless,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stdlibs";
|
||||
version = "2026.2.26";
|
||||
version = "2026.9.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omnilib";
|
||||
repo = "stdlibs";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5Brb214tglEEjsJXOvEhlaJgSYCUpOGPbHkmI9AWPoM=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-W2fj+hGZ5UA/XNO0CUyTbz/Wwhh3pr/2qB8Su5TdKPM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "flit_core >=4,<5" "flit_core"
|
||||
'';
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
moreorless
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stdlibs" ];
|
||||
|
||||
meta = {
|
||||
description = "Overview of the Python stdlib";
|
||||
homepage = "https://github.com/omnilib/stdlibs";
|
||||
changelog = "https://github.com/omnilib/stdlibs/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/omnilib/stdlibs/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user