python3Packages.brotli: inherit src from brotli

This commit is contained in:
Robert Schütz
2025-11-06 20:23:00 -08:00
parent 5eaddf6110
commit 142b4e6c73
@@ -10,18 +10,9 @@
buildPythonPackage rec {
pname = "brotli";
version = "1.2.0";
inherit (brotli) version src;
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "brotli";
tag = "v${version}";
hash = "sha256-ePfllKdY12hOPuO9uHuXFZ3Bdib6BLD4ghiaeurJZ28=";
# .gitattributes is not correct or GitHub does not parse it correct and the archive is missing the test data
forceFetchGit = true;
};
build-system = [
pkgconfig
setuptools