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

27 lines
729 B
Nix
Raw Normal View History

{ 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";
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";
2014-12-22 05:11:58 +01:00
sha256 = "0zabh6cq7v1aml83y2r475vvy3mmmjbvkijk0bnyfx73z8hmsa3z";
};
2014-12-15 23:00:10 +01:00
propagatedBuildInputs = with python3Packages;
2014-12-15 23:00:10 +01:00
[ 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;
maintainers = [ maintainers.wscott ];
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
};
2014-12-15 23:00:10 +01:00
}