pythonPackages.google_crc32c: 1.0.0 -> 1.1.0, rename to fit other google packages

This commit is contained in:
Sandro Jäckel 2021-01-05 13:04:29 +01:00
parent 7a414d636e
commit 2ff9969a97
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 8 additions and 8 deletions

View File

@ -1,31 +1,31 @@
{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, cffi, crc32c, pytestCheckHook }:
{ lib, buildPythonPackage, fetchFromGitHub, cffi, crc32c, pytestCheckHook }:
buildPythonPackage rec {
pname = "google-crc32c";
version = "1.0.0";
disabled = !isPy3k;
version = "1.1.0";
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-crc32c";
rev = "v${version}";
sha256 = "0n3ggsxmk1fhq0kz6p5rcj4gypfb05i26fcn7lsawakgl7fzxqyl";
sha256 = "0vbidg9yrv9k8xvk8rl43lsf4cg3dci4a9k4srwwrchbxivz1gr6";
};
buildInputs = [ crc32c ];
buildInputs = [ crc32c ];
propagatedBuildInputs = [ cffi ];
LDFLAGS = "-L${crc32c}/lib";
CFLAGS = "-I${crc32c}/include";
checkInputs = [ pytestCheckHook crc32c ];
pythonImportsCheck = [ "google_crc32c" ];
meta = with lib; {
homepage = "https://github.com/googleapis/python-crc32c";
description = "Wrapper the google/crc32c hardware-based implementation of the CRC32C hashing algorithm";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ freezeboy ];
maintainers = with maintainers; [ freezeboy SuperSandro2000 ];
};
}

View File

@ -2605,7 +2605,7 @@ in {
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
google-crc32c = callPackage ../development/python-modules/google-crc32c {
google_crc32c = callPackage ../development/python-modules/google_crc32c {
inherit (pkgs) crc32c;
};