depot/third_party/nixpkgs/pkgs/development/python-modules/stdlibs/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
789 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "stdlibs";
version = "2024.5.15";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "omnilib";
repo = "stdlibs";
rev = "refs/tags/v${version}";
hash = "sha256-DthHvL5x3HVwACLnxeyuoC0hb8OokabODircEY9eEhE=";
};
build-system = [ 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 ];
};
}