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