diff options
| author | Vinicius Monego <monego@posteo.net> | 2026-08-15 12:51:27 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2026-08-18 18:54:40 -0300 |
| commit | b92bb40b16f3936e39b53dfefaddc9bb1f94096d (patch) | |
| tree | e6e8f3c68e1d04cc96d04e711445233d8068dfdf /gnu/packages | |
| parent | a7dbf960230db64a08534b567d6a3e0d07c8b595 (diff) | |
gnu: Add partclone.
* gnu/packages/backup.scm (partclone): New variable.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/backup.scm | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 1dd5655748f..14dc1596788 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | ;;; Copyright © 2024 jgart <jgart@dismail.de> | 28 | ;;; Copyright © 2024 jgart <jgart@dismail.de> |
| 29 | ;;; Copyright © 2025 Kjartan Oli Agustsson <kjartanoli@outlook.com> | 29 | ;;; Copyright © 2025 Kjartan Oli Agustsson <kjartanoli@outlook.com> |
| 30 | ;;; Copyright © 2025 mstenek <mstenek@disroot.org> | 30 | ;;; Copyright © 2025 mstenek <mstenek@disroot.org> |
| 31 | ;;; Copyright © 2026 Vinicius Monego <monego@posteo.net> | ||
| 31 | ;;; | 32 | ;;; |
| 32 | ;;; This file is part of GNU Guix. | 33 | ;;; This file is part of GNU Guix. |
| 33 | ;;; | 34 | ;;; |
| @@ -70,6 +71,8 @@ | |||
| 70 | #:use-module (gnu packages dbm) | 71 | #:use-module (gnu packages dbm) |
| 71 | #:use-module (gnu packages dejagnu) | 72 | #:use-module (gnu packages dejagnu) |
| 72 | #:use-module (gnu packages digest) | 73 | #:use-module (gnu packages digest) |
| 74 | #:use-module (gnu packages docbook) | ||
| 75 | #:use-module (gnu packages file-systems) | ||
| 73 | #:use-module (gnu packages ftp) | 76 | #:use-module (gnu packages ftp) |
| 74 | #:use-module (gnu packages gettext) | 77 | #:use-module (gnu packages gettext) |
| 75 | #:use-module (gnu packages glib) | 78 | #:use-module (gnu packages glib) |
| @@ -894,6 +897,70 @@ is like a time machine for your data.") | |||
| 894 | (license (license:fsf-free "file://COPYING" | 897 | (license (license:fsf-free "file://COPYING" |
| 895 | "Open Software License 2.0")))) | 898 | "Open Software License 2.0")))) |
| 896 | 899 | ||
| 900 | (define-public partclone | ||
| 901 | (package | ||
| 902 | (name "partclone") | ||
| 903 | (version "0.3.48") | ||
| 904 | (source (origin | ||
| 905 | (method git-fetch) | ||
| 906 | (uri (git-reference | ||
| 907 | (url "https://github.com/Thomas-Tsai/partclone") | ||
| 908 | (commit version))) | ||
| 909 | (file-name (git-file-name name version)) | ||
| 910 | (sha256 | ||
| 911 | (base32 | ||
| 912 | "03qq00wxhygbv873p8hkypfdmv680c3nsip0hdjagzms5g7j7chy")))) | ||
| 913 | (build-system gnu-build-system) | ||
| 914 | (arguments | ||
| 915 | (list | ||
| 916 | #:configure-flags #~(list "--enable-btrfs" | ||
| 917 | "--enable-exfat" | ||
| 918 | "--enable-extfs" | ||
| 919 | "--enable-f2fs" | ||
| 920 | "--enable-fat" | ||
| 921 | "--enable-fuse" | ||
| 922 | "--enable-hfsp" | ||
| 923 | "--enable-minix" | ||
| 924 | "--enable-nilfs2" | ||
| 925 | "--enable-ntfs" | ||
| 926 | "--enable-xfs") | ||
| 927 | #:phases | ||
| 928 | #~(modify-phases %standard-phases | ||
| 929 | (add-after 'unpack 'local-man-stylesheet | ||
| 930 | (lambda _ | ||
| 931 | (substitute* "docs/Makefile.am" | ||
| 932 | (("MAN_STYLESHEET=.*") | ||
| 933 | (string-append "MAN_STYLESHEET=" | ||
| 934 | #$(this-package-native-input "docbook-xsl") | ||
| 935 | "/xml/xsl/docbook-xsl-" | ||
| 936 | #$(package-version | ||
| 937 | (this-package-native-input "docbook-xsl")) | ||
| 938 | "/manpages/docbook.xsl")))))))) | ||
| 939 | (native-inputs (list autoconf | ||
| 940 | automake | ||
| 941 | docbook-xsl | ||
| 942 | gettext-minimal | ||
| 943 | libtool | ||
| 944 | libxslt | ||
| 945 | nilfs-utils | ||
| 946 | pkg-config)) | ||
| 947 | (inputs (list e2fsprogs ; ext2/3/4 support | ||
| 948 | fuse ; fuse support | ||
| 949 | liburcu ; xfs support | ||
| 950 | nilfs-utils ; nilfs support | ||
| 951 | ntfs-3g ; ntfs support | ||
| 952 | openssl | ||
| 953 | `(,util-linux "lib") | ||
| 954 | xxhash | ||
| 955 | zlib | ||
| 956 | `(,zstd "lib"))) | ||
| 957 | (home-page "https://partclone.org/") | ||
| 958 | (synopsis "Utilities to save and restore used blocks on a partition") | ||
| 959 | (description "Partclone provides utilities to save and restore used blocks | ||
| 960 | on a partition and is designed for higher compatibility of the file system by | ||
| 961 | using existing libraries.") | ||
| 962 | (license license:gpl2+))) | ||
| 963 | |||
| 897 | (define-public restic | 964 | (define-public restic |
| 898 | (package | 965 | (package |
| 899 | (name "restic") | 966 | (name "restic") |
