2014-12-24 11:07:19 +00:00
|
|
|
{ stdenv, fetchzip, python3Packages, openssl, acl }:
|
2014-12-15 22:00:10 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2015-06-21 05:47:40 +01:00
|
|
|
name = "attic-${version}";
|
|
|
|
version = "0.16";
|
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 {
|
2015-04-03 05:49:39 +01:00
|
|
|
name = "${name}-src";
|
2015-06-21 05:47:40 +01:00
|
|
|
url = "https://github.com/jborg/attic/archive/${version}.tar.gz";
|
|
|
|
sha256 = "008566hhsd3ck70ql0fdn4vaqjfcnf493gwd49d6294f8r7qn06z";
|
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; {
|
2015-06-21 05:47:40 +01:00
|
|
|
description = "A deduplicating 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
|
|
|
}
|