diff options
Diffstat (limited to 'pkgs/tools/backup/attic/default.nix')
-rw-r--r-- | pkgs/tools/backup/attic/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/backup/attic/default.nix b/pkgs/tools/backup/attic/default.nix new file mode 100644 index 00000000000..9512a917d85 --- /dev/null +++ b/pkgs/tools/backup/attic/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchzip, python3Packages, openssl, acl }: + +python3Packages.buildPythonPackage rec { + name = "attic-0.14"; + namePrefix = ""; + + src = fetchzip { + name = "${name}-src"; + url = "https://github.com/jborg/attic/archive/0.14.tar.gz"; + sha256 = "1ij99dmd571rvk3kz97vs7wbjj2pbbd54l310lydnwywxhqs8hrv"; + }; + + 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 + }; +} |