Files
nixpkgs/pkgs/development/python-modules/pyproject-metadata/default.nix
T
Frederik Rietdijk 5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +02:00

53 lines
975 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, packaging
, pytestCheckHook
, pythonOlder
, setuptools
, tomli
, wheel
}:
buildPythonPackage rec {
pname = "pyproject-metadata";
version = "0.7.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi rec {
inherit pname version;
hash = "sha256-CpTxixCLmyHzomo9VB8FbDTtyxfchyoUShVhj+1672c=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
packaging
];
nativeCheckInputs = [
pytestCheckHook
] ++ lib.optionals (pythonOlder "3.11") [
tomli
];
# Many broken tests, and missing test files
doCheck = false;
pythonImportsCheck = [
"pyproject_metadata"
];
meta = with lib; {
description = "PEP 621 metadata parsing";
homepage = "https://github.com/FFY00/python-pyproject-metadata";
changelog = "https://github.com/FFY00/python-pyproject-metadata/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
};
}