nixpkgs/pkgs/development/python-modules/stdlibs/default.nix
2023-11-04 10:50:38 +01:00

41 lines
803 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "stdlibs";
version = "2023.11.2";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "omnilib";
repo = "stdlibs";
rev = "refs/tags/v${version}";
hash = "sha256-084px8p+pOHonSiOvi/BklaccudSlw9URtCaalWlI0o=";
};
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 ];
};
}