python3Packages.brotli-asgi: modernize
This commit is contained in:
@@ -12,18 +12,17 @@
|
||||
mypy,
|
||||
brotlipy,
|
||||
}:
|
||||
let
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "brotli-asgi";
|
||||
version = "1.6.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fullonic";
|
||||
repo = "brotli-asgi";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cF7A3mnkQmvtc9DgHiwqYEQQ6QagjoBGTmcBzUm6vvs=";
|
||||
};
|
||||
|
||||
@@ -49,4 +48,4 @@ buildPythonPackage {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user