Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
871 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "brotli"; version = "1.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "google"; repo = "brotli"; tag = "v${version}"; hash = "sha256-U1vAupUthD5W0xvlOKdgm9MAVLqsVyZUaFdeLsDAbDM="; # .gitattributes is not correct or GitHub does not parse it correct and the archive is missing the test data forceFetchGit = true; };
build-system = [ setuptools ];
# only returns information how to really build dontConfigure = true;
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "python/tests" ];
meta = with lib; { homepage = "https://github.com/google/brotli"; description = "Generic-purpose lossless compression algorithm"; license = licenses.mit; maintainers = [ ]; };}