-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python310Packages.hatch-fancy-pypi-readme: init at 22.3.0
This is depended upon by the newest python310Packages.jsonschema.
- Loading branch information
1 parent
c172bee
commit b0beaa8
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
pkgs/development/python-modules/hatch-fancy-pypi-readme/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters