2014-12-24 11:07:19 +00:00
|
|
|
{ stdenv, fetchzip, python3Packages, openssl, acl }:
|
2014-12-15 22:00:10 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2014-12-18 00:15:39 +00:00
|
|
|
name = "attic-0.14";
|
2014-12-18 07:14:52 +00:00
|
|
|
namePrefix = "";
|
2014-12-15 22:00:10 +00:00
|
|
|
|
2014-12-24 11:07:19 +00:00
|
|
|
src = fetchzip {
|
2014-12-18 00:15:39 +00:00
|
|
|
url = "https://github.com/jborg/attic/archive/0.14.tar.gz";
|
2014-12-24 11:07:19 +00:00
|
|
|
sha256 = "17y7kihykaf84sy9cm00fn4wcc7rnhv2792kcwplylz7dsm7ksiw";
|
2014-12-18 07:14:52 +00:00
|
|
|
};
|
2014-12-15 22:00:10 +00:00
|
|
|
|
2014-12-18 07:39:11 +00:00
|
|
|
propagatedBuildInputs = with python3Packages;
|
2015-01-02 14:06:48 +00:00
|
|
|
[ cython msgpack openssl acl llfuse ];
|
2014-12-15 22:00:10 +00:00
|
|
|
|
2014-12-17 21:55:28 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export ATTIC_OPENSSL_PREFIX="${openssl}"
|
|
|
|
'';
|
|
|
|
|
2014-12-15 22:00:10 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A deduplication backup program";
|
|
|
|
homepage = "https://attic-backup.org";
|
2014-12-18 07:14:52 +00:00
|
|
|
license = licenses.bsd3;
|
2014-12-18 12:36:35 +00:00
|
|
|
maintainers = [ maintainers.wscott ];
|
|
|
|
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
|
2014-12-18 07:14:52 +00:00
|
|
|
};
|
2014-12-15 22:00:10 +00:00
|
|
|
}
|