nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "stdlibs";
10 version = "2025.10.28";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "omnilib";
15 repo = "stdlibs";
16 tag = "v${version}";
17 hash = "sha256-1xdwYwkQqkPsa5yjrTUM0HxRVLJ+ZQvYwFpjIlW7jaY=";
18 };
19
20 build-system = [ flit-core ];
21
22 # Module has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "stdlibs" ];
26
27 meta = {
28 description = "Overview of the Python stdlib";
29 homepage = "https://github.com/omnilib/stdlibs";
30 changelog = "https://github.com/omnilib/stdlibs/blob/${src.tag}/CHANGELOG.md";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ fab ];
33 };
34}