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