python313Packages.stdlib-list: modernize

This commit is contained in:
Fabian Affolter
2025-11-01 09:50:33 +01:00
committed by GitHub
parent f0a070e4c4
commit deb1c8ffa8

View File

@@ -2,15 +2,13 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
# build-system
flit-core, flit-core,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "stdlib-list"; pname = "stdlib-list";
version = "0.12.0"; version = "0.12.0";
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
pname = "stdlib_list"; pname = "stdlib_list";
@@ -18,7 +16,7 @@ buildPythonPackage rec {
hash = "sha256-UXgk8n7onlkdiufB3Z/zT2curlDuiG6jG7iBbXdTVnU="; hash = "sha256-UXgk8n7onlkdiufB3Z/zT2curlDuiG6jG7iBbXdTVnU=";
}; };
nativeBuildInputs = [ flit-core ]; build-system = [ flit-core ];
pythonImportsCheck = [ "stdlib_list" ]; pythonImportsCheck = [ "stdlib_list" ];
@@ -26,9 +24,9 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
changelog = "https://github.com/pypi/stdlib-list/releases/tag/v${version}";
description = "List of Python Standard Libraries"; description = "List of Python Standard Libraries";
homepage = "https://github.com/jackmaney/python-stdlib-list"; homepage = "https://github.com/jackmaney/python-stdlib-list";
changelog = "https://github.com/pypi/stdlib-list/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = [ ]; maintainers = [ ];
}; };