Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

58 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
docutils,
fetchPypi,
pythonOlder,
importlib-metadata,
importlib-resources,
setuptools,
packaging,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pkg-about";
version = "1.2.11";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "pkg_about";
inherit version;
hash = "sha256-fm/b4Vm7YGTq+BXVltwRz42qXYULXL9KBCINB8mMuWI=";
};
# tox is listed in build requirements but not actually used to build
# keeping it as a requirement breaks the build unnecessarily
postPatch = ''
sed -i "/requires/s/, 'tox>=[^']*'//" pyproject.toml
'';
build-system = [
packaging
setuptools
];
dependencies = [
docutils
importlib-metadata
importlib-resources
packaging
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pkg_about" ];
meta = with lib; {
description = "Python metadata sharing at runtime";
homepage = "https://github.com/karpierz/pkg_about/";
changelog = "https://github.com/karpierz/pkg_about/blob/${version}/CHANGES.rst";
license = licenses.zlib;
teams = [ teams.ororatech ];
};
}