python39Packages.brotli: update comments, add SuperSandro2000 as maintainer

This commit is contained in:
Sandro Jäckel 2022-03-23 05:49:40 +01:00
parent 85a633de9f
commit 607723da24
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,22 +1,23 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook }: , pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "brotli"; pname = "brotli";
version = "1.0.9"; version = "1.0.9";
# PyPI doesn't contain tests so let's use GitHub
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tFnXSXv8t3l3HX6GwWLhEtgpqz0c7Yom5U3k47pWM7o="; sha256 = "sha256-tFnXSXv8t3l3HX6GwWLhEtgpqz0c7Yom5U3k47pWM7o=";
# for some reason, the test data isn't captured in releases, force a git checkout # .gitattributes is not correct or GitHub does not parse it correct and the archive is missing the test data
forceFetchGit = true; forceFetchGit = true;
}; };
# only returns information how to really build
dontConfigure = true; dontConfigure = true;
checkInputs = [ checkInputs = [
@ -31,6 +32,6 @@ buildPythonPackage rec {
homepage = "https://github.com/google/brotli"; homepage = "https://github.com/google/brotli";
description = "Generic-purpose lossless compression algorithm"; description = "Generic-purpose lossless compression algorithm";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };
} }