diff options
author | figsoda <figsoda@pm.me> | 2023-07-12 12:06:56 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-07-12 12:06:56 -0400 |
commit | 72948e9fba8b206b2d7f2daf988157de044186f8 (patch) | |
tree | 3b71d5263d1bc1217c0517033641aa8217c2370e | |
parent | 9a1074ae6b2e76f8c1ae69a5c467f4097de85516 (diff) |
pkgs/tools/backup: remove dead code
with the help of deadnix & nil
-rw-r--r-- | pkgs/tools/backup/bupstash/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/discordchatexporter-cli/default.nix | 1 | ||||
-rw-r--r-- | pkgs/tools/backup/duplicity/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/backup/gphotos-sync/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/restic/rest-server.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/tarsnap/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/zbackup/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/zfsbackup/default.nix | 1 | ||||
-rw-r--r-- | pkgs/tools/backup/zrepl/default.nix | 1 |
9 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/tools/backup/bupstash/default.nix b/pkgs/tools/backup/bupstash/default.nix index 03d4f70711bef..6197bb9a2b72a 100644 --- a/pkgs/tools/backup/bupstash/default.nix +++ b/pkgs/tools/backup/bupstash/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }: +{ lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }: rustPlatform.buildRustPackage rec { pname = "bupstash"; version = "0.12.0"; diff --git a/pkgs/tools/backup/discordchatexporter-cli/default.nix b/pkgs/tools/backup/discordchatexporter-cli/default.nix index 33b072ddcb151..dee8691981d82 100644 --- a/pkgs/tools/backup/discordchatexporter-cli/default.nix +++ b/pkgs/tools/backup/discordchatexporter-cli/default.nix @@ -1,7 +1,6 @@ { lib , buildDotnetModule , fetchFromGitHub -, dotnetCorePackages , testers , discordchatexporter-cli }: diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix index cac9ae411d54e..216d4dc7da6a7 100644 --- a/pkgs/tools/backup/duplicity/default.nix +++ b/pkgs/tools/backup/duplicity/default.nix @@ -1,6 +1,5 @@ { lib, stdenv , fetchFromGitLab -, fetchpatch , python3 , librsync , ncftp @@ -14,8 +13,6 @@ }: let pythonPackages = python3.pkgs; - inherit (lib.versions) majorMinor splitVersion; - majorMinorPatch = v: builtins.concatStringsSep "." (lib.take 3 (splitVersion v)); in pythonPackages.buildPythonApplication rec { pname = "duplicity"; diff --git a/pkgs/tools/backup/gphotos-sync/default.nix b/pkgs/tools/backup/gphotos-sync/default.nix index 3ab3aaa03e6de..5315ee5723532 100644 --- a/pkgs/tools/backup/gphotos-sync/default.nix +++ b/pkgs/tools/backup/gphotos-sync/default.nix @@ -1,7 +1,5 @@ { lib -, pkgs , fetchFromGitHub -, fetchpatch , python3 , ffmpeg }: diff --git a/pkgs/tools/backup/restic/rest-server.nix b/pkgs/tools/backup/restic/rest-server.nix index ded6bbaa533b7..d7b64a748bcec 100644 --- a/pkgs/tools/backup/restic/rest-server.nix +++ b/pkgs/tools/backup/restic/rest-server.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "restic-rest-server"; diff --git a/pkgs/tools/backup/tarsnap/default.nix b/pkgs/tools/backup/tarsnap/default.nix index 69c2869ae2b29..8a0e43b600852 100644 --- a/pkgs/tools/backup/tarsnap/default.nix +++ b/pkgs/tools/backup/tarsnap/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash, bzip2 }: +{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bzip2 }: let zshCompletion = fetchurl { diff --git a/pkgs/tools/backup/zbackup/default.nix b/pkgs/tools/backup/zbackup/default.nix index 24b4684745ce1..021c85707a609 100644 --- a/pkgs/tools/backup/zbackup/default.nix +++ b/pkgs/tools/backup/zbackup/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch +{ lib, stdenv, fetchFromGitHub , cmake, protobufc , libunwind, lzo, openssl, protobuf, zlib }: diff --git a/pkgs/tools/backup/zfsbackup/default.nix b/pkgs/tools/backup/zfsbackup/default.nix index 29d4d5392ae80..5a37dfc1f6dcc 100644 --- a/pkgs/tools/backup/zfsbackup/default.nix +++ b/pkgs/tools/backup/zfsbackup/default.nix @@ -1,7 +1,6 @@ { lib , buildGoModule , fetchFromGitHub -, zfs }: buildGoModule rec { diff --git a/pkgs/tools/backup/zrepl/default.nix b/pkgs/tools/backup/zrepl/default.nix index 098e898c2b434..f2a26bbeb8f13 100644 --- a/pkgs/tools/backup/zrepl/default.nix +++ b/pkgs/tools/backup/zrepl/default.nix @@ -4,7 +4,6 @@ , makeWrapper , nixosTests , openssh -, fetchpatch }: buildGoModule rec { pname = "zrepl"; |