mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.starlette: cleanup
This commit is contained in:
parent
53b29af49e
commit
01204a518c
1 changed files with 3 additions and 9 deletions
|
|
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
|||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
owner = "Kludex";
|
||||
repo = "starlette";
|
||||
tag = version;
|
||||
hash = "sha256-9iQXlpA1VDGw1c7X1zJPmJ3Dub46PwqrVIX1+fWOZ7M=";
|
||||
|
|
@ -56,12 +56,6 @@ buildPythonPackage rec {
|
|||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
|
||||
pytestFlags = [
|
||||
"-Wignore::DeprecationWarning"
|
||||
"-Wignore::trio.TrioDeprecationWarning"
|
||||
"-Wignore::ResourceWarning" # FIXME remove once test suite is fully compatible with anyio 4.4.0
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "starlette" ];
|
||||
|
||||
passthru.tests = {
|
||||
|
|
@ -69,8 +63,8 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://www.starlette.io/release-notes/#${lib.replaceStrings [ "." ] [ "" ] version}";
|
||||
downloadPage = "https://github.com/encode/starlette";
|
||||
changelog = "https://github.com/Kludex/starlette/blob/${src.tag}/docs/release-notes.md";
|
||||
downloadPage = "https://github.com/Kludex/starlette";
|
||||
homepage = "https://www.starlette.io/";
|
||||
description = "Little ASGI framework that shines";
|
||||
license = lib.licenses.bsd3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue