3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/borg/default.nix
Tobias Geerinckx-Rice 10229032a9 borg: 0.29.0 -> 0.30.0
Compatibility notes:

- you may need to use -v (or --info) more often to actually see
  output emitted at INFO log level (because it is suppressed at
  the default WARNING log level). See the general section in the
  usage docs.
- for borg create, you need --list (additionally to -v) to see
  the long file list (was needed so you can have e.g. --stats
  alone without the long list)
- see link below about BORG_DELETE_I_KNOW_WHAT_I_AM_DOING
  (was: BORG_CHECK_I_KNOW_WHAT_I_AM_DOING)

More: https://github.com/borgbackup/borg/blob/0.30.0/docs/changes.rst
2016-01-24 04:10:57 +01:00

29 lines
889 B
Nix

{ stdenv, fetchurl, python3Packages, openssl, acl, lz4 }:
python3Packages.buildPythonPackage rec {
name = "borgbackup-${version}";
version = "0.30.0";
namePrefix = "";
src = fetchurl {
url = "https://pypi.python.org/packages/source/b/borgbackup/borgbackup-${version}.tar.gz";
sha256 = "0n78c982kdfqbyi9jawcvzgdik4l36c2s7rpzkfr1ka6506k2rx4";
};
propagatedBuildInputs = with python3Packages;
[ cython msgpack openssl acl llfuse tox detox lz4 setuptools_scm ];
preConfigure = ''
export BORG_OPENSSL_PREFIX="${openssl}"
export BORG_LZ4_PREFIX="${lz4}"
'';
meta = with stdenv.lib; {
description = "A deduplicating backup program (attic fork)";
homepage = https://borgbackup.github.io/;
license = licenses.bsd3;
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
maintainers = with maintainers; [ nckx ];
};
}