Merge master into staging-next
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig
|
||||
, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl, libmilter, pcre
|
||||
, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl, libmilter, pcre2
|
||||
, libmspack, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clamav-${version}";
|
||||
version = "0.99.4";
|
||||
version = "0.100.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.clamav.net/downloads/production/${name}.tar.gz";
|
||||
sha256 = "0q94iwi729id9pyc72w6zlllbaz37qvpi6gc51g2x3fy7ckw6anp";
|
||||
sha256 = "17x5b2gh84b167h6ip9hw05w809p009yx13i4gkps92ja5jjdq44";
|
||||
};
|
||||
|
||||
# don't install sample config files into the absolute sysconfdir folder
|
||||
@@ -18,16 +19,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre
|
||||
zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre2 libmspack
|
||||
systemd
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--libdir=$(out)/lib"
|
||||
"--sysconfdir=/etc/clamav"
|
||||
"--with-systemdsystemunitdir=$(out)/lib/systemd"
|
||||
"--disable-llvm" # enabling breaks the build at the moment
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--with-xml=${libxml2.dev}"
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--with-libcurl=${curl.dev}"
|
||||
"--with-system-libmspack"
|
||||
"--enable-milter"
|
||||
];
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnu-pw-mgr-${version}";
|
||||
version = "2.3.2";
|
||||
version = "2.3.3";
|
||||
src = fetchurl {
|
||||
url = "http://ftp.gnu.org/gnu/gnu-pw-mgr/${name}.tar.xz";
|
||||
sha256 = "0x60g0syqpd107l8w4bl213imy2lspm4kz1j18yr1sh10rdxlgxd";
|
||||
sha256 = "04xh38j7l0sfnb01kp05xc908pvqfc0lph94k7n9bi46zy3qy7ma";
|
||||
};
|
||||
|
||||
buildInputs = [ gnulib ];
|
||||
|
||||
@@ -1,29 +1,42 @@
|
||||
{ stdenv, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig, qt5 }:
|
||||
{ stdenv, makeWrapper, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig
|
||||
, qtbase, qttranslations, qtsvg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nitrokey-app-${version}";
|
||||
version = "1.2";
|
||||
version = "1.3.1";
|
||||
|
||||
# We use fetchgit instead of fetchFromGitHub because of necessary git submodules
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Nitrokey/nitrokey-app.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mm6vlgxlmpahmmcn4awnfpx5rx5bj8m44cywhgxlmz012x73hzi";
|
||||
sha256 = "0zf2f7g5scqd5xfzvmmpvfc7d1w66rf22av0qv6s37875c61j9r9";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace libnitrokey/CMakeLists.txt \
|
||||
--replace '/data/41-nitrokey.rules' '/libnitrokey/data/41-nitrokey.rules'
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
bash-completion
|
||||
hidapi
|
||||
libusb1
|
||||
qt5.qtbase
|
||||
qt5.qttranslations
|
||||
qtbase
|
||||
qttranslations
|
||||
qtsvg
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
makeWrapper
|
||||
];
|
||||
cmakeFlags = "-DCMAKE_BUILD_TYPE=Release";
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/nitrokey-app \
|
||||
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides extra functionality for the Nitrokey Pro and Storage";
|
||||
longDescription = ''
|
||||
|
||||
@@ -10,12 +10,12 @@ stdenv.mkDerivation {
|
||||
dontBuild = true;
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace data/41-nitrokey.rules --replace plugdev "${group}"
|
||||
substituteInPlace libnitrokey/data/41-nitrokey.rules --replace plugdev "${group}"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/etc/udev/rules.d
|
||||
cp data/41-nitrokey.rules $out/etc/udev/rules.d
|
||||
cp libnitrokey/data/41-nitrokey.rules $out/etc/udev/rules.d
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, yacc, flex}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
name = "sshguard-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sshguard/${name}.tar.gz";
|
||||
sha256 = "12h2rx40lf3p3kgazmgakkgajjk2d3sdvr2f73ghi15d6i42l991";
|
||||
sha256 = "1hjn6smd6kc3yg2xm1kvszqpm5w9a6vic6a1spzy8czcwvz0gzra";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tor-0.3.3.8";
|
||||
name = "tor-0.3.3.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dist.torproject.org/${name}.tar.gz";
|
||||
sha256 = "19dkyspvzabssl695gc1sd9905jyhnrg2yq7l7pvy729lbzb9x9w";
|
||||
sha256 = "0vyf5z0dn5jghp2qjp076aq62lsz9g32qv9jiqf08skf096nnd45";
|
||||
};
|
||||
|
||||
outputs = [ "out" "geoip" ];
|
||||
|
||||
Reference in New Issue
Block a user