Merge pull request #245484 from marsam/update-zfs-autobackup

zfs-autobackup: 3.1 -> 3.1.3

authored by Mario Rodas and committed by GitHub 4b4b4cf5 cdd302c8

+14 -16
+14 -16
pkgs/tools/backup/zfs-autobackup/default.nix
··· 1 1 { lib, python3Packages, fetchPypi }: 2 2 3 - let 4 - pythonPackages = python3Packages; 5 - 6 - in 7 - pythonPackages.buildPythonApplication rec { 8 - pname = "zfs_autobackup"; 9 - version = "3.1"; 3 + python3Packages.buildPythonApplication rec { 4 + pname = "zfs-autobackup"; 5 + version = "3.1.3"; 10 6 11 7 src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "42c22001717b3d7cfdae6297fedc11b2dd1eb2a4bd25b6bb1c9232dd3b70ad67"; 8 + inherit version; 9 + pname = "zfs_autobackup"; 10 + sha256 = "sha256-ckikq8Am81O0wkL4ozRBFTCa15PrmkD54A2qEY6kA5c="; 14 11 }; 15 12 16 - # argparse is part of the standardlib 17 - prePatch = '' 18 - substituteInPlace setup.py --replace "argparse" "" 19 - ''; 13 + nativeBuildInputs = with python3Packages; [ pythonRelaxDepsHook ]; 20 14 21 - propagatedBuildInputs = with pythonPackages; [ colorama ]; 15 + propagatedBuildInputs = with python3Packages; [ colorama ]; 16 + 17 + pythonRemoveDeps = [ "argparse" ]; 22 18 23 19 # tests need zfs filesystem 24 20 doCheck = false; 25 - pythonImportsCheck = [ "colorama" "argparse" ]; 21 + 22 + pythonImportsCheck = [ "zfs_autobackup" ]; 26 23 27 24 meta = with lib; { 25 + description = "ZFS backup, replicationand snapshot tool"; 28 26 homepage = "https://github.com/psy0rz/zfs_autobackup"; 29 - description = "ZFS backup, replicationand snapshot tool"; 27 + changelog = "https://github.com/psy0rz/zfs_autobackup/releases/tag/v${version}"; 30 28 license = licenses.gpl3Only; 31 29 maintainers = with maintainers; [ ]; 32 30 };