depot/third_party/nixpkgs/pkgs/development/python-modules/pyproject-metadata/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

44 lines
769 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, packaging
, pytestCheckHook
, tomli
}:
buildPythonPackage rec {
pname = "pyproject-metadata";
version = "0.5.0";
format = "pyproject";
src = fetchPypi rec {
inherit pname version;
hash = "sha256-6YN9I3V8XJ//+19/N8+be8LZc30OlZt/XV8YmVFulww=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
packaging
];
checkInputs = [
pytestCheckHook
tomli
];
# Many broken tests, and missing test files
doCheck = false;
meta = with lib; {
description = "PEP 621 metadata parsing";
homepage = "https://github.com/FFY00/python-pyproject-metadata";
license = licenses.mit;
maintainers = with maintainers; [ fridh ];
};
}