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

python310Packages.hatch-fancy-pypi-readme: init at 22.3.0
This commit is contained in:
adisbladis 2022-09-02 02:38:17 +12:00 committed by GitHub
commit 202228fb07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 0 deletions

View file

@ -15130,4 +15130,14 @@
fingerprint = "1147 43F1 E707 6F3E 6F4B 2C96 B9A8 B592 F126 F8E8";
}];
};
tjni = {
email = "43ngvg@masqt.com";
matrix = "@tni:matrix.org";
name = "Theodore Ni";
github = "tjni";
githubId = 3806110;
keys = [{
fingerprint = "4384 B8E1 299F C028 1641 7B8F EC30 EFBE FA7E 84A4";
}];
};
}

View file

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, build
, hatchling
}:
buildPythonPackage rec {
pname = "hatch-fancy-pypi-readme";
version = "22.3.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "hatch_fancy_pypi_readme";
inherit version;
hash = "sha256-fUZR+PB4JZMckoc8tRE3IUqTi623p1m4XB2Vv3T4bvo=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
hatchling
];
checkInputs = [
build
pytestCheckHook
];
# Requires network connection
disabledTests = [
"test_build" # Requires internet
"test_invalid_config"
];
pythonImportsCheck = [
"hatch_fancy_pypi_readme"
];
meta = with lib; {
description = "Fancy PyPI READMEs with Hatch";
homepage = "https://github.com/hynek/hatch-fancy-pypi-readme";
license = licenses.mit;
maintainers = with maintainers; [ tjni ];
};
}

View file

@ -4100,6 +4100,8 @@ in {
hatchling = callPackage ../development/python-modules/hatchling { };
hatch-fancy-pypi-readme = callPackage ../development/python-modules/hatch-fancy-pypi-readme { };
hatch-vcs = callPackage ../development/python-modules/hatch-vcs { };
haversine = callPackage ../development/python-modules/haversine { };