3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/attic/default.nix
Bjørn Forsman 1a79e7ffdc attic: fetchurl -> fetchzip
fetchzip calculates the hash of the extracted archive, so that
(irrelevant) changes done to the dynamically generated archive doesn't
cause our hash to be outdated.
2014-12-24 12:07:19 +01:00

27 lines
729 B
Nix

{ stdenv, fetchzip, python3Packages, openssl, acl }:
python3Packages.buildPythonPackage rec {
name = "attic-0.14";
namePrefix = "";
src = fetchzip {
url = "https://github.com/jborg/attic/archive/0.14.tar.gz";
sha256 = "17y7kihykaf84sy9cm00fn4wcc7rnhv2792kcwplylz7dsm7ksiw";
};
propagatedBuildInputs = with python3Packages;
[ cython msgpack openssl acl ];
preConfigure = ''
export ATTIC_OPENSSL_PREFIX="${openssl}"
'';
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
};
}