@@ -2,28 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "bandwhich";
5− version = "0.18.1";
5+ version = "0.19.0";
66
77 src = fetchFromGitHub {
88 owner = "imsnif";
99 repo = pname;
1010 rev = version;
11− sha256 = "0qzmkhrg7pqgblmva7xcww6zc4rryba6kkfkhj05mvd31z3c1rz8";
11+ sha256 = "0963yfbf88hb5fvyckhs1vfvib5skkj9n17qibpv5vsdlynbaa96";
1212 };
1313
14− cargoSha256 = "0iakw42nip0vxq50jjk73r0xl7xp426szb091ap4isad3zxq6saj";
15− cargoPatches = [
16− # Fixes rDNS support for systems using `systemd-networkd` from v246.
17− # See https://github.com/imsnif/bandwhich/pull/184 for context
18− (fetchpatch {
19− url = "https://github.com/imsnif/bandwhich/commit/19e485a1ce9f749c121d235147e3117cc847379e.patch";
20− sha256 = "03hg73gwlfq0l36k3aq7cfak3js7j05ssfpdbfiiwqq7lynm83jr";
21− })
22− (fetchpatch {
23− url = "https://github.com/imsnif/bandwhich/commit/35f03b716832fba9a735628d1c728d3e305f75c8.patch";
24− sha256 = "1bv837wc1dgg26s640f3lfya28ypnjs0675dykzxxxv5y9ns58l3";
25− })
26− ];
14+ cargoSha256 = "0xp45kb0z7wiq6vnws4q7khbzslywh24sb43ssr39l1rajf7w64r";
2715
2816 buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
2917