@@ -35,20 +35,20 @@
3535}:
3636
3737let
38− version = "3.4.2";
38+ version = "3.4.3";
3939
4040 src = fetchFromGitHub {
4141 owner = "opencv";
4242 repo = "opencv";
4343 rev = version;
44− sha256 = "0q752s1ir6iyqbp3pn425fi215fi7bzjl4aa3arvgh6sridda9lx";
44+ sha256 = "138q3wiv4g4xvqzsp93xaqayv7kz7bl2vrgppp8jm8w6m25cd4i2";
4545 };
4646
4747 contribSrc = fetchFromGitHub {
4848 owner = "opencv";
4949 repo = "opencv_contrib";
5050 rev = version;
51− sha256 = "1fbgbf9xdby9a5yy6bmnkzchdsfii0jagfd373y015cjpr1mrlvz";
51+ sha256 = "1f334glf39nk42mpqq6j732h3ql2mpz89jd4mcl678s8n73nfjh2";
5252 };
5353
5454 # Contrib must be built in order to enable Tesseract support:
@@ -145,11 +145,6 @@ stdenv.mkDerivation rec {
145145 cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/opencv_contrib"
146146 '';
147147
148− # TODO: remove the following patch once commit
149− # https://github.com/opencv/opencv/commit/e2b5d112909b9dfd764f14833b82e38e4bc2f81f
150− # is released.
151− patches = [ ./fix-dnn.patch ];
152−
153148 # This prevents cmake from using libraries in impure paths (which
154149 # causes build failure on non NixOS)
155150 # Also, work around https://github.com/NixOS/nixpkgs/issues/26304 with