rtl_433: 21.12 -> 22.11
This commit is contained in:
parent
6638106edf
commit
4f0a9675b3
|
@ -1,28 +1,18 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fetchpatch
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||||
, libusb1, rtl-sdr, soapysdr-with-plugins
|
, libusb1, rtl-sdr, soapysdr-with-plugins
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "21.12";
|
version = "22.11";
|
||||||
pname = "rtl_433";
|
pname = "rtl_433";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "merbanan";
|
owner = "merbanan";
|
||||||
repo = "rtl_433";
|
repo = "rtl_433";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-KoDKyI7KDdGSe79ZTuL9ObKnOJsqTN4wrMq+/cvQ/Xk=";
|
sha256 = "sha256-qDY+prdf8O/dqmAgLU6lpsNIvL1R5V2AwsB+4CpOqGM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [( fetchpatch {
|
|
||||||
name = "CVE-2022-27419";
|
|
||||||
url = "https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904.patch";
|
|
||||||
sha256 = "172jndh8x5nlcbx2jp5y8fgfxsawwfz95037pcjp170gf93ijy88";
|
|
||||||
}) ( fetchpatch {
|
|
||||||
name = "CVE-2022-25051";
|
|
||||||
url = "https://github.com/merbanan/rtl_433/commit/2dad7b9fc67a1d0bfbe520fbd821678b8f8cc7a8.patch";
|
|
||||||
sha256 = "sha256-IfxwdnuA7WbaVdxMTln069mA5hKNuPz+XYQaNA4YY24=";
|
|
||||||
})];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake ];
|
nativeBuildInputs = [ pkg-config cmake ];
|
||||||
|
|
||||||
buildInputs = [ libusb1 rtl-sdr soapysdr-with-plugins ];
|
buildInputs = [ libusb1 rtl-sdr soapysdr-with-plugins ];
|
||||||
|
@ -36,5 +26,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ earldouglas markuskowa ];
|
maintainers = with maintainers; [ earldouglas markuskowa ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue