Something went wrong. Try again.
lol
Something went wrong. Try again.
776 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, brotli, buildPythonPackage, pkgconfig, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "brotli"; inherit (brotli) version src; pyproject = true;
build-system = [ pkgconfig setuptools ];
# only returns information how to really build dontConfigure = true;
env.USE_SYSTEM_BROTLI = 1;
buildInputs = [ brotli ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "python/tests" ];
meta = { changelog = "https://github.com/google/brotli/blob/${src.tag}/CHANGELOG.md"; homepage = "https://github.com/google/brotli"; description = "Generic-purpose lossless compression algorithm"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mdaniels5757 ]; };}