depot/third_party/nixpkgs/pkgs/development/python-modules/stdlibs/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

40 lines
803 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "stdlibs";
version = "2024.1.28";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "omnilib";
repo = "stdlibs";
rev = "refs/tags/v${version}";
hash = "sha256-xf46ih7viVUKNIT1tLs5MQPNjNtQlQ2N9BJIGPt4Srk=";
};
nativeBuildInputs = [
flit-core
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"stdlibs"
];
meta = with lib; {
description = "Overview of the Python stdlib";
homepage = "https://github.com/omnilib/stdlibs";
changelog = "https://github.com/omnilib/stdlibs/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}