mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
commit
c3edaab52d
@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig libconfig ];
|
nativeBuildInputs = [ pkgconfig libconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libtoxcore-dev libsodium ncurses libqrencode curl
|
libtoxcore-dev libsodium ncurses curl
|
||||||
] ++ stdenv.lib.optionals (!stdenv.isArm) [
|
] ++ stdenv.lib.optionals (!stdenv.isArm) [
|
||||||
openal libvpx freealut
|
openal libvpx freealut libqrencode
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
, gmp, mpfr, libffi, makeWrapper
|
, gmp, mpfr, libffi, makeWrapper
|
||||||
, noUnicode ? false
|
, noUnicode ? false
|
||||||
, gcc
|
, gcc
|
||||||
|
, threadSupport ? true
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
@ -30,7 +31,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-threads"
|
(if threadSupport then "--enable-threads" else "--disable-threads")
|
||||||
"--with-gmp-prefix=${gmp.dev}"
|
"--with-gmp-prefix=${gmp.dev}"
|
||||||
"--with-libffi-prefix=${libffi.dev}"
|
"--with-libffi-prefix=${libffi.dev}"
|
||||||
]
|
]
|
||||||
|
@ -148,7 +148,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bzip2 fontconfig freetype gnutls libiconv lame libass libogg libtheora
|
bzip2 fontconfig freetype gnutls libiconv lame libass libogg libtheora
|
||||||
libvdpau libvorbis lzma SDL soxr x264 x265 xvidcore zlib libopus
|
libvdpau libvorbis lzma soxr x264 x265 xvidcore zlib libopus
|
||||||
] ++ optional openglSupport mesa
|
] ++ optional openglSupport mesa
|
||||||
++ optionals (!isDarwin && !isArm) [ libvpx libpulseaudio ] # Need to be fixed on Darwin and ARM
|
++ optionals (!isDarwin && !isArm) [ libvpx libpulseaudio ] # Need to be fixed on Darwin and ARM
|
||||||
++ optional ((isLinux || isFreeBSD) && !isArm) libva
|
++ optional ((isLinux || isFreeBSD) && !isArm) libva
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "stunnel-${version}";
|
name = "stunnel-${version}";
|
||||||
version = "5.37";
|
version = "5.38";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
|
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
|
||||||
sha256 = "0hfjs3f2crdvqsalismrsf5nnz4ksj8igiwjqzg4zipz7q757qyh";
|
sha256 = "1mag0gd52f5q1jj3ds1pcn3s09si63cbxmri3zyv2fk8l6ds5b89";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
Loading…
Reference in New Issue
Block a user