2014-12-18 08:14:52 +01:00
|
|
|
{ stdenv, fetchurl, python3Packages, openssl, acl }:
|
2014-12-15 23:00:10 +01:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2014-12-18 01:15:39 +01:00
|
|
|
name = "attic-0.14";
|
2014-12-18 08:14:52 +01:00
|
|
|
namePrefix = "";
|
2014-12-15 23:00:10 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-12-18 01:15:39 +01:00
|
|
|
url = "https://github.com/jborg/attic/archive/0.14.tar.gz";
|
|
|
|
sha256 = "929da4b2e900770cd31558e87074ade347b44937c944218549259ea64646f203";
|
2014-12-18 08:14:52 +01:00
|
|
|
};
|
2014-12-15 23:00:10 +01:00
|
|
|
|
|
|
|
buildInputs = with python3Packages;
|
|
|
|
[ cython msgpack openssl acl ];
|
|
|
|
|
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";
|
2014-12-18 08:14:52 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
2014-12-15 23:00:10 +01:00
|
|
|
}
|