nixpkgs-suyu/pkgs/tools/backup/attic/default.nix

28 lines
762 B
Nix
Raw Normal View History

{ stdenv, fetchzip, python3Packages, openssl, acl }:
2014-12-15 23:00:10 +01:00
python3Packages.buildPythonPackage rec {
2015-04-16 04:27:21 +02:00
name = "attic-0.15";
namePrefix = "";
2014-12-15 23:00:10 +01:00
src = fetchzip {
name = "${name}-src";
2015-04-16 04:27:21 +02:00
url = "https://github.com/jborg/attic/archive/0.15.tar.gz";
sha256 = "0c5rsxxcg897a619cbv75hzi1ahpkym8dccf6y3jlcs98z11vm5d";
};
2014-12-15 23:00:10 +01:00
propagatedBuildInputs = with python3Packages;
[ cython msgpack openssl acl llfuse ];
2014-12-15 23:00:10 +01:00
2014-12-17 22:55:28 +01:00
preConfigure = ''
export ATTIC_OPENSSL_PREFIX="${openssl}"
'';
2014-12-15 23:00:10 +01:00
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
};
2014-12-15 23:00:10 +01:00
}