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