nixpkgs/pkgs/tools/backup/attic/default.nix
Bjørn Forsman a8af7f16ce attic: expression cleanup
Clean up some whitespace errors and add namePrefix = "" to make package
name like attribute name (no pythonX.Y- prefix).
2014-12-18 08:14:52 +01:00

24 lines
614 B
Nix

{ stdenv, fetchurl, python3Packages, openssl, acl }:
python3Packages.buildPythonPackage rec {
name = "attic-0.13";
namePrefix = "";
src = fetchurl {
url = "https://github.com/jborg/attic/archive/0.13.tar.gz";
sha256 = "da1c4c0759b541e72f6928341c863b406448351769113165d86d8393a5db98a3";
};
buildInputs = 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;
};
}