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
58 lines
1.0 KiB
Nix
58 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
warcio,
|
|
surt,
|
|
py3amf,
|
|
multipart,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cdxj-indexer";
|
|
version = "1.4.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "webrecorder";
|
|
repo = "cdxj-indexer";
|
|
tag = "v${version}";
|
|
hash = "sha256-E3b/IfjngyXhWvRYP9CkQGvBFeC8pAm4KxZA9MwOo4s=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
warcio
|
|
surt
|
|
py3amf
|
|
multipart
|
|
];
|
|
|
|
pythonRemoveDeps = [
|
|
# Transitive dependency that does not need to be pinned
|
|
# Proposed fix in <https://github.com/webrecorder/cdxj-indexer/pull/25>
|
|
"idna"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"cdxj_indexer"
|
|
];
|
|
|
|
meta = {
|
|
description = "CDXJ Indexing of WARC/ARCs";
|
|
homepage = "https://github.com/webrecorder/cdxj-indexer";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ zhaofengli ];
|
|
mainProgram = "cdxj-indexer";
|
|
};
|
|
}
|