Loading pkgs/development/python-modules/brotli/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -2,25 +2,29 @@ lib, buildPythonPackage, fetchFromGitHub, pkgconfig, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "brotli"; version = "1.1.0"; version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "google"; repo = "brotli"; tag = "v${version}"; hash = "sha256-U1vAupUthD5W0xvlOKdgm9MAVLqsVyZUaFdeLsDAbDM="; 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 = [ setuptools ]; build-system = [ pkgconfig setuptools ]; # only returns information how to really build dontConfigure = true; Loading @@ -29,10 +33,11 @@ buildPythonPackage rec { enabledTestPaths = [ "python/tests" ]; meta = with lib; { 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 = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/brotli/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -2,25 +2,29 @@ lib, buildPythonPackage, fetchFromGitHub, pkgconfig, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "brotli"; version = "1.1.0"; version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "google"; repo = "brotli"; tag = "v${version}"; hash = "sha256-U1vAupUthD5W0xvlOKdgm9MAVLqsVyZUaFdeLsDAbDM="; 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 = [ setuptools ]; build-system = [ pkgconfig setuptools ]; # only returns information how to really build dontConfigure = true; Loading @@ -29,10 +33,11 @@ buildPythonPackage rec { enabledTestPaths = [ "python/tests" ]; meta = with lib; { 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 = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; }; }