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