driftnet: 1.3.0 -> 1.4.0

This commit is contained in:
Fabian Affolter 2023-01-08 10:24:22 +01:00
parent 98acd5e659
commit 4f21c44a98

View File

@ -11,33 +11,22 @@
, libpng , libpng
, libuv , libuv
, libwebsockets , libwebsockets
, libwebp
, openssl , openssl
, pkg-config , pkg-config
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "driftnet"; pname = "driftnet";
version = "1.3.0"; version = "1.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deiv"; owner = "deiv";
repo = "driftnet"; repo = "driftnet";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0kd22aqb25kf54jjv3ml8wy8xm7lmbf0xz1wfp31m08cbzsbizib"; hash = "sha256-szmezYnszlRanq8pMD0CIGA+zTYGSwSHcDaZ2Gx1KCA=";
}; };
# https://github.com/deiv/driftnet/pull/33
# remove on version bump from 1.3.0
patches = [
(fetchpatch {
name = "fix-darwin-build";
url = "https://github.com/deiv/driftnet/pull/33/commits/bef5f3509ab5710161e9e21ea960a997eada534f.patch";
sha256 = "1b7p9fkgp7dxv965l7q7y632s80h3nnrkaqnak2h0hakwv0i4pvm";
})
# https://github.com/deiv/driftnet/issues/37
./libwebsockets-4.3.0.patch
];
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ nativeBuildInputs = [
@ -55,6 +44,7 @@ stdenv.mkDerivation rec {
libpng libpng
libuv libuv
libwebsockets libwebsockets
libwebp
openssl openssl
]; ];