{ lib, buildPythonPackage, cryptography, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "securetar"; version = "2025.2.1"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "pvizeli"; repo = "securetar"; tag = version; hash = "sha256-uVzyVgS8bWxS7jhwVyv7wTNF8REW+dJIhkRaS/8/FmY="; }; build-system = [ setuptools ]; dependencies = [ cryptography ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "securetar" ]; meta = with lib; { description = "Module to handle tarfile backups"; homepage = "https://github.com/pvizeli/securetar"; changelog = "https://github.com/pvizeli/securetar/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }