Merge pull request #194376 from tjni/hatch-fancy-pypi-readme

This commit is contained in:
Martin Weinelt 2022-10-13 23:26:10 +02:00 committed by GitHub
commit ffcab07bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,13 @@
, pythonOlder , pythonOlder
, build , build
, hatchling , hatchling
, tomli
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hatch-fancy-pypi-readme"; pname = "hatch-fancy-pypi-readme";
version = "22.7.0"; version = "22.8.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "hatch_fancy_pypi_readme"; pname = "hatch_fancy_pypi_readme";
inherit version; inherit version;
hash = "sha256-3t8roLgaKXWrsd7ukxCy64XSI4D9oNUoaedgtUNapZY="; hash = "sha256-2pEoLKCWAcGK3tjjeNr4tXjHAhSGbwlxFW7pu5zmwmo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -26,6 +28,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
hatchling hatchling
] ++ lib.optionals (pythonOlder "3.11") [
tomli
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
]; ];
checkInputs = [ checkInputs = [