Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 677 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook }: 2 3buildPythonPackage rec { 4 version = "2.3.post0"; 5 pname = "crc32c"; 6 format = "setuptools"; 7 8 disabled = pythonOlder "3.5"; 9 10 src = fetchFromGitHub { 11 owner = "ICRAR"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-lPEojWeAhfWpGR+k+Tuo4n68iZOk7lUDxjWXj5vN4I0="; 15 }; 16 17 nativeCheckInputs = [ pytestCheckHook ]; 18 19 meta = { 20 description = "Python software implementation and hardware API of CRC32C checksum algorithm"; 21 homepage = "https://github.com/ICRAR/crc32c"; 22 license = lib.licenses.lgpl21; 23 maintainers = with lib.maintainers; [ bcdarwin ]; 24 }; 25}