1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, wheel
6, packaging
7, pytestCheckHook
8, tomli
9}:
10
11buildPythonPackage rec {
12 pname = "pyproject-metadata";
13 version = "0.5.0";
14 format = "pyproject";
15
16 src = fetchPypi rec {
17 inherit pname version;
18 hash = "sha256-6YN9I3V8XJ//+19/N8+be8LZc30OlZt/XV8YmVFulww=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 wheel
24 ];
25
26 propagatedBuildInputs = [
27 packaging
28 ];
29
30 checkInputs = [
31 pytestCheckHook
32 tomli
33 ];
34
35 # Many broken tests, and missing test files
36 doCheck = false;
37
38 meta = with lib; {
39 description = "PEP 621 metadata parsing";
40 homepage = "https://github.com/FFY00/python-pyproject-metadata";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fridh ];
43 };
44}