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

25 lines
614 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python3Packages, openssl, acl }:
2014-12-15 23:00:10 +01:00
python3Packages.buildPythonPackage rec {
name = "attic-0.13";
namePrefix = "";
2014-12-15 23:00:10 +01:00
src = fetchurl {
url = "https://github.com/jborg/attic/archive/0.13.tar.gz";
sha256 = "da1c4c0759b541e72f6928341c863b406448351769113165d86d8393a5db98a3";
};
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";
license = licenses.bsd3;
};
2014-12-15 23:00:10 +01:00
}