borgbackup: add blake2 library to build inputs

This commit is contained in:
André-Patrick Bubel 2018-04-15 23:54:00 +02:00
parent f5866564c8
commit 232e0386cd
No known key found for this signature in database
GPG Key ID: 28925CBA8869FF29

View File

@ -1,4 +1,4 @@
{ stdenv, python3Packages, acl, lz4, openssl, openssh }:
{ stdenv, python3Packages, acl, libb2, lz4, openssl, openssh }:
python3Packages.buildPythonApplication rec {
pname = "borgbackup";
@ -19,7 +19,7 @@ python3Packages.buildPythonApplication rec {
sphinx guzzle_sphinx_theme
];
buildInputs = [
lz4 openssl python3Packages.setuptools_scm
libb2 lz4 openssl python3Packages.setuptools_scm
] ++ stdenv.lib.optionals stdenv.isLinux [ acl ];
propagatedBuildInputs = with python3Packages; [
cython msgpack-python
@ -28,6 +28,7 @@ python3Packages.buildPythonApplication rec {
preConfigure = ''
export BORG_OPENSSL_PREFIX="${openssl.dev}"
export BORG_LZ4_PREFIX="${lz4.dev}"
export BORG_LIBB2_PREFIX="${libb2}"
'';
makeWrapperArgs = [