Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
796 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "crc32c"; version = "2.7.1"; pyproject = true;
disabled = pythonOlder "3.5";
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 ]; };}