1{ lib, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 version = "2.2.post0"; 5 pname = "crc32c"; 6 7 src = fetchFromGitHub { 8 owner = "ICRAR"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-0FgNOVpgJTxRALuufZ7Dt1TwuX+zqw35yCq8kmq4RTc="; 12 }; 13 14 meta = { 15 description = "Python software implementation and hardware API of CRC32C checksum algorithm"; 16 homepage = "https://github.com/ICRAR/crc32c"; 17 license = lib.licenses.lgpl21; 18 maintainers = with lib.maintainers; [ bcdarwin ]; 19 }; 20}