1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, flit-core
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "stdlibs";
10 version = "2023.11.2";
11 format = "pyproject";
12
13 disabled = pythonOlder "3.8";
14
15 src = fetchFromGitHub {
16 owner = "omnilib";
17 repo = "stdlibs";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-084px8p+pOHonSiOvi/BklaccudSlw9URtCaalWlI0o=";
20 };
21
22 nativeBuildInputs = [
23 flit-core
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "stdlibs"
31 ];
32
33 meta = with lib; {
34 description = "Overview of the Python stdlib";
35 homepage = "https://github.com/omnilib/stdlibs";
36 changelog = "https://github.com/omnilib/stdlibs/blob/${version}/CHANGELOG.md";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];
39 };
40}