swiften: use dependencies from nix
This commit is contained in:
parent
419cf5cd4f
commit
573edbf405
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user