summaryrefslogtreecommitdiff
path: root/px/packages/backup.scm
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2024-03-30 12:33:46 +0000
committerFranz Geffke <franz@pantherx.org>2024-03-30 12:33:46 +0000
commit43c68da82cacd4c5c7838600edf13c6dd9e4f251 (patch)
tree43a3e440ce8058af4f9a9ae4ba5b3d5767ec5512 /px/packages/backup.scm
parent7840592aa80d9162b67b30918213ce74ecc4f503 (diff)
tarsnap: move to backup module
Diffstat (limited to 'px/packages/backup.scm')
-rw-r--r--px/packages/backup.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/px/packages/backup.scm b/px/packages/backup.scm
index 081f159..61b02f0 100644
--- a/px/packages/backup.scm
+++ b/px/packages/backup.scm
@@ -45,3 +45,36 @@
to provide a more automated backup experience. The CLI may be
accessed via: px-backup-cli")
(license license:expat)))
+
+(define-public tarsnap
+ (package
+ (name "tarsnap")
+ (version "1.0.39")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Tarsnap/tarsnap/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0b91k0sg64nxidvgzpip5a1rz0cwmygsfr13ac1q7zmd59iz1cz2"))
+ (patches (search-patches
+ "tarsnap-do-not-use-command-p-in-makefile.patch"))))
+ ;; This official release includes a configure script but it will
+ ;; try to invoke sh and that will not be found. Therefore it is
+ ;; necessary to build the configure script with autoconf.
+ (build-system gnu-build-system)
+ (inputs `(("openssl" ,openssl)
+ ("zlib" ,zlib)
+ ("e2fsprogs" ,e2fsprogs)))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("autoconf-archive" ,autoconf-archive)
+ ;; necessary? I think this is added by the build system
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://www.tarsnap.com/")
+ (synopsis
+ "Tarsnap is a secure, efficient online backup service: \"Online backups for
+ the truly paranoid\".")
+ (description #f)
+ ;; See COPYING
+ (license #f))) \ No newline at end of file