nixpkgs/pkgs/tools/backup/attic/default.nix
Bjørn Forsman ca9d370f56 attic: add missing dependency on 'llfuse'
Without this one cannot mount the backup repository:

 $ attic mount /backups/backup.attic mnt
 attic: the "llfuse" module is required to use this feature
 attic: Exiting with failure status due to previous errors
2015-01-02 15:17:42 +01:00

27 lines
736 B
Nix

{ stdenv, fetchzip, python3Packages, openssl, acl }:
python3Packages.buildPythonPackage rec {
name = "attic-0.14";
namePrefix = "";
src = fetchzip {
url = "https://github.com/jborg/attic/archive/0.14.tar.gz";
sha256 = "17y7kihykaf84sy9cm00fn4wcc7rnhv2792kcwplylz7dsm7ksiw";
};
propagatedBuildInputs = with python3Packages;
[ cython msgpack openssl acl llfuse ];
preConfigure = ''
export ATTIC_OPENSSL_PREFIX="${openssl}"
'';
meta = with stdenv.lib; {
description = "A deduplication backup program";
homepage = "https://attic-backup.org";
license = licenses.bsd3;
maintainers = [ maintainers.wscott ];
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
};
}