anchor.diff: -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
  +{ lib, stdenv, fetchFromGitHub, buildPackages
  +, autoreconfHook, pkg-config, gettext
   , libusb1
   , libtool
   , libexif
  +, libgphoto2
   , libjpeg
   }:
   
  
positive.code:     sha256 = "sha256-c7fBl6GBLAU+RL5WFC4PL+n/nEHZUfqIJ9qq1+qNNCg=";
    };
  
    patches = [];
  
    nativeBuildInputs = [
      autoreconfHook
      pkg-config
      gettext
      libtool
    ];
  
    buildInputs = [
      libjpeg
      libusb1
    ];
  
  
negative.code: 
    hardeningDisable = [ "format" ];
  
    postInstall = let
      executablePrefix = if stdenv.buildPlatform == stdenv.hostPlatform then
        "$out"
      else
        buildPackages.libgphoto2;
    in ''
      mkdir -p $out/lib/udev/rules.d
      ${executablePrefix}/lib/libgphoto2/print-camera-list \
          udev-rules version 175 group camera \
          >$out/lib/udev/rules.d/40-gphoto2.rules
    '';
  
    meta = {
  