Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
796 B
Nix
36 lines
796 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|