swiften: use dependencies from nix

This commit is contained in:
Jan Tojnar 2022-01-08 15:32:30 +01:00
parent 419cf5cd4f
commit 573edbf405

View File

@ -1,7 +1,11 @@
{ stdenv
, lib
, python
, libidn
, lua
, miniupnpc
, expat
, zlib
, fetchurl
, fetchpatch
, openssl
@ -37,7 +41,11 @@ stdenv.mkDerivation rec {
buildInputs = [
python
libidn
lua
miniupnpc
expat
zlib
];
propagatedBuildInputs = [
@ -56,6 +64,11 @@ stdenv.mkDerivation rec {
"swiften_dll=1"
];
postPatch = ''
# Ensure bundled dependencies cannot be used.
rm -rf 3rdParty
'';
installTargets = "${placeholder "out"}";
installFlags = [