nixpkgs/pkgs/tools/backup/attic/default.nix
Bjørn Forsman 16730fa87a attic: update source derivation name
0.14.tar.gz => attic-0.14-src.
2015-04-03 08:53:16 +02:00

28 lines
762 B
Nix

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