blob: 6b37529323aa458ddf8be37f7ce808cf8d2b1308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "anonip";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "DigitaleGesellschaft";
repo = "Anonip";
tag = "v${finalAttrs.version}";
sha256 = "0cssdcridadjzichz1vv1ng7jwphqkn8ihh83hpz9mcjmxyb94qc";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
enabledTestPaths = [ "tests.py" ];
pythonImportsCheck = [ "anonip" ];
meta = {
description = "Tool to anonymize IP addresses in log files";
mainProgram = "anonip";
homepage = "https://github.com/DigitaleGesellschaft/Anonip";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ mmahut ];
};
})
|