Diff: https://github.com/pvizeli/securetar/compare/refs/tags/2025.1.4...2025.2.1 Changelog: https://github.com/pvizeli/securetar/releases/tag/2025.2.0 https://github.com/pvizeli/securetar/releases/tag/2025.2.1
41 lines
856 B
Nix
41 lines
856 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|