cdxj-indexer: init at 1.4.6
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
@@ -11949,6 +11949,8 @@ with pkgs;
|
||||
|
||||
cdparanoia = cdparanoiaIII;
|
||||
|
||||
cdxj-indexer = with python3Packages; toPythonApplication cdxj-indexer;
|
||||
|
||||
chromium = callPackage ../applications/networking/browsers/chromium (config.chromium or { });
|
||||
|
||||
chuck = callPackage ../applications/audio/chuck {
|
||||
|
||||
@@ -2332,6 +2332,8 @@ self: super: with self; {
|
||||
|
||||
cddlparser = callPackage ../development/python-modules/cddlparser { };
|
||||
|
||||
cdxj-indexer = callPackage ../development/python-modules/cdxj-indexer { };
|
||||
|
||||
celery = callPackage ../development/python-modules/celery { };
|
||||
|
||||
celery-batches = callPackage ../development/python-modules/celery-batches { };
|
||||
|
||||
Reference in New Issue
Block a user