1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "securetar"; 13 version = "2025.2.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; 17 18 src = fetchFromGitHub { 19 owner = "pvizeli"; 20 repo = "securetar"; 21 tag = version; 22 hash = "sha256-uVzyVgS8bWxS7jhwVyv7wTNF8REW+dJIhkRaS/8/FmY="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ cryptography ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "securetar" ]; 32 33 meta = with lib; { 34 description = "Module to handle tarfile backups"; 35 homepage = "https://github.com/pvizeli/securetar"; 36 changelog = "https://github.com/pvizeli/securetar/releases/tag/${src.tag}"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}