blob: 471067f25300380d5907705a66ae1c7377c620ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "crc32c";
version = "2.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ICRAR";
repo = "crc32c";
tag = "v${version}";
hash = "sha256-WBFiAbdzV719vPdZkRGei2+Y33RroMZ7FeQmWo/OfE0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python software implementation and hardware API of CRC32C checksum algorithm";
homepage = "https://github.com/ICRAR/crc32c";
changelog = "https://github.com/ICRAR/crc32c/blob/master/CHANGELOG.md";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|