blob: d4e8634039a9ffdb8c15c1855f36c6541e920cdf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchzip, python3Packages, openssl, acl }:
python3Packages.buildPythonApplication rec {
name = "attic-${version}";
version = "0.16";
namePrefix = "";
src = fetchzip {
name = "${name}-src";
url = "https://github.com/jborg/attic/archive/${version}.tar.gz";
sha256 = "008566hhsd3ck70ql0fdn4vaqjfcnf493gwd49d6294f8r7qn06z";
};
propagatedBuildInputs = with python3Packages;
[ cython msgpack openssl acl llfuse-0-41 ];
preConfigure = ''
export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'"
'';
meta = with stdenv.lib; {
description = "A deduplicating backup program";
homepage = https://attic-backup.org;
license = licenses.bsd3;
maintainers = [ maintainers.wscott ];
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
};
}
|